public class RenderOptions
extends java.lang.Object
DiagramView#getPrintOptions
method to set the
attributes of a specific diagram.Constructor and Description |
---|
RenderOptions()
Initializes a new RenderOptions instance.
|
Modifier and Type | Method and Description |
---|---|
SmoothingMode |
getAntiAlias() |
java.lang.String |
getDocumentName()
Gets the document name.
|
boolean |
getEnableAnchors()
Gets a value indicating whether anchor point marks will be printed.
|
boolean |
getEnableBackground()
Gets a value indicating whether the diagram background will be filled
using the
Diagram.getBackBrush() background brush. |
boolean |
getEnableBackgroundImage()
Gets a value indicating whether the diagram's
background image will be printed.
|
boolean |
getEnableEffects()
Gets a value indicating whether to render special node effects.
|
boolean |
getEnableFitToPage() |
boolean |
getEnableGrid()
Gets a value indicating whether the alignment grid is rendered.
|
boolean |
getEnableImages()
Gets a value indicating whether images that are
displayed inside nodes will be printed.
|
boolean |
getEnableInterior()
Gets a value indicating whether the nodes will be filled when printed.
|
boolean |
getEnableShadows()
Gets a value indicating whether item shadows will be printed.
|
boolean |
getEnableText() |
java.lang.String |
getHeaderFormat()
Gets the page header format string.
|
HyperLinkStyle |
getHyperLinkStyle() |
java.lang.String |
getHyperLinkTarget() |
RenderTarget |
getRenderTarget() |
float |
getScale()
Gets the scale of the printed diagram relatively to the original on-screen size of the diagram.
|
double |
getScrollX() |
double |
getScrollY() |
java.lang.Object |
getTargetView() |
SmoothingMode |
getTextAntiAlias() |
android.graphics.RectF |
getVisibleRect() |
void |
setAntiAlias(SmoothingMode smoothingMode) |
void |
setDocumentName(java.lang.String value)
Sets the document name.
|
void |
setEnableAnchors(boolean value)
Sets a value indicating whether anchor point marks should be printed.
|
void |
setEnableBackground(boolean value)
Sets a value indicating whether the diagram background should be filled
using the
Diagram.getBackBrush() background brush. |
void |
setEnableBackgroundImage(boolean value)
Sets a value indicating whether the diagram's
background image should be printed.
|
void |
setEnableEffects(boolean value)
Sets a value indicating whether to render special node effects.
|
void |
setEnableFitToPage(boolean value) |
void |
setEnableGrid(boolean value)
Gets a value indicating whether the alignment grid is rendered.
|
void |
setEnableImages(boolean value)
Sets a value indicating whether images that are
displayed inside nodes should be printed.
|
void |
setEnableInterior(boolean value)
Sets a value indicating whether the nodes should be filled when printed.
|
void |
setEnableShadows(boolean value)
Sets a value indicating whether item shadows should be printed.
|
void |
setEnableText(boolean value) |
void |
setHeaderFormat(java.lang.String value)
Sets the page header format string.
|
void |
setHyperLinkStyle(HyperLinkStyle value) |
void |
setHyperLinkTarget(java.lang.String value) |
void |
setRenderTarget(RenderTarget renderTarget) |
void |
setScale(float value)
Sets the scale of the printed diagram relatively to the original on-screen size of the diagram.
|
void |
setScrollX(double value) |
void |
setScrollY(double value) |
void |
setTargetView(java.lang.Object targetView) |
void |
setTextAntiAlias(SmoothingMode textAntiAlias) |
void |
setVisibleRect(android.graphics.RectF visibleRect) |
public java.lang.String getDocumentName()
String
containing the document name.public void setDocumentName(java.lang.String value)
value
- A String
containing the document name.public java.lang.String getHeaderFormat()
String
containing formatting attributes
for the page headers.public void setHeaderFormat(java.lang.String value)
value
- A String
containing formatting attributes
for the page headers.public float getScale()
public void setScale(float value)
value
- A float value specifying percents of the original diagram size. The default value is 100.public boolean getEnableShadows()
true
if shadows will be printed,
otherwise false
.public void setEnableShadows(boolean value)
value
- true
if shadows should be printed,
otherwise false
.public boolean getEnableImages()
true
if images will be printed,
otherwise false
.public void setEnableImages(boolean value)
value
- true
if images should be printed,
otherwise false
.public boolean getEnableInterior()
true
if nodes will be filled,
otherwise false
.public void setEnableInterior(boolean value)
value
- true
if nodes should be filled,
otherwise false
.public boolean getEnableAnchors()
true
if anchor point marks will be printed,
otherwise false
.public void setEnableAnchors(boolean value)
value
- true
if anchor point marks should be printed,
otherwise false
.public boolean getEnableBackground()
Diagram.getBackBrush()
background brush.true
if the background will be filled when
printing, otherwise false
.public void setEnableBackground(boolean value)
Diagram.getBackBrush()
background brush.value
- true
if the background should be filled when
printing, otherwise false
.public boolean getEnableEffects()
true
if node effects should be rendered;
otherwise, false
.public void setEnableEffects(boolean value)
value
- true
if node effects should be rendered;
otherwise, false
.public boolean getEnableGrid()
public void setEnableGrid(boolean value)
public boolean getEnableBackgroundImage()
true
if the background image will be printed,
otherwise false
.public void setEnableBackgroundImage(boolean value)
value
- true
if the background image should be printed,
otherwise false
.public boolean getEnableText()
public void setEnableText(boolean value)
public void setEnableFitToPage(boolean value)
public boolean getEnableFitToPage()
public SmoothingMode getAntiAlias()
public void setAntiAlias(SmoothingMode smoothingMode)
public SmoothingMode getTextAntiAlias()
public void setTextAntiAlias(SmoothingMode textAntiAlias)
public RenderTarget getRenderTarget()
public void setRenderTarget(RenderTarget renderTarget)
public java.lang.String getHyperLinkTarget()
public void setHyperLinkTarget(java.lang.String value)
public HyperLinkStyle getHyperLinkStyle()
public void setHyperLinkStyle(HyperLinkStyle value)
public android.graphics.RectF getVisibleRect()
public void setVisibleRect(android.graphics.RectF visibleRect)
public java.lang.Object getTargetView()
public void setTargetView(java.lang.Object targetView)
public double getScrollX()
public void setScrollX(double value)
public double getScrollY()
public void setScrollY(double value)