public class OdGraphicStyle extends Object
The open document graphic style.
Constructor and Description |
---|
OdGraphicStyle() |
Modifier and Type | Method and Description |
---|---|
OdGraphicStyle |
copy()
Copies this instance.
|
OdBrush |
getBrush()
Gets the brush.
|
float |
getEndGuide()
Gets or sets the end guide.
|
OdMarker |
getEndMarker()
Gets or sets the end marker.
|
float |
getEndMarkerWidth()
Gets or sets the end width of the marker.
|
OdFont |
getFont()
Gets the font.
|
int |
getLineHeight()
Gets or sets the height of the line.
|
float |
getMarginBottom()
Gets or sets the margin bottom.
|
float |
getMarginTop()
Gets or sets the margin top.
|
float |
getMeasureLineDistance()
Gets or sets the measure line distance.
|
int |
getOpacity()
Gets or sets the opacity.
|
float |
getPaddingBottom()
Gets or sets the padding bottom.
|
float |
getPaddingLeft()
Gets or sets the padding left.
|
float |
getPaddingRight()
Gets or sets the padding right.
|
float |
getPaddingTop()
Gets or sets the padding top.
|
OdPen |
getPen()
Gets the pen.
|
float |
getSpaceBefore()
Gets or sets the space before.
|
float |
getStartGuide()
Gets or sets the start guide.
|
OdMarker |
getStartMarker()
Gets or sets the start marker.
|
float |
getStartMarkerWidth()
Gets or sets the start width of the marker.
|
float |
getStylePosition()
Gets or sets the style position.
|
int |
getTextAlign()
Gets or sets the text align.
|
int |
getTextColor()
Gets or sets the color of the text.
|
OdTransformInfo |
getTransformInfo()
Gets the transform information.
|
void |
setBrush(OdBrush value)
The brush.
|
void |
setEndGuide(float value)
Gets or sets the end guide.
|
void |
setEndMarker(OdMarker value)
Gets or sets the end marker.
|
void |
setEndMarkerWidth(float value)
Gets or sets the end width of the marker.
|
void |
setLineHeight(int value)
Gets or sets the height of the line.
|
void |
setMarginBottom(float value)
Gets or sets the margin bottom.
|
void |
setMarginTop(float value)
Gets or sets the margin top.
|
void |
setMeasureLineDistance(float value)
Gets or sets the measure line distance.
|
void |
setOpacity(int value)
Gets or sets the opacity.
|
void |
setPaddingBottom(float value)
Gets or sets the padding bottom.
|
void |
setPaddingLeft(float value)
Gets or sets the padding left.
|
void |
setPaddingRight(float value)
Gets or sets the padding right.
|
void |
setPaddingTop(float value)
Gets or sets the padding top.
|
void |
setSpaceBefore(float value)
Gets or sets the space before.
|
void |
setStartGuide(float value)
Gets or sets the start guide.
|
void |
setStartMarker(OdMarker value)
Gets or sets the start marker.
|
void |
setStartMarkerWidth(float value)
Gets or sets the start width of the marker.
|
void |
setStylePosition(float value)
Gets or sets the style position.
|
void |
setTextAlign(int value)
Gets or sets the text align.
|
void |
setTextColor(int value)
Gets or sets the color of the text.
|
public final OdBrush getBrush()
Gets the brush.
Value: The brush.public final void setBrush(OdBrush value)
The brush.
Value: The brush.value
- the brush.public OdPen getPen()
Gets the pen.
public OdFont getFont()
Gets the font.
public int getTextColor()
Gets or sets the color of the text.
public void setTextColor(int value)
Gets or sets the color of the text.
value
- The color of the text.public int getTextAlign()
Gets or sets the text align.
public void setTextAlign(int value)
Gets or sets the text align.
value
- The text align.public int getLineHeight()
Gets or sets the height of the line.
public void setLineHeight(int value)
Gets or sets the height of the line.
value
- The height of the line.public OdTransformInfo getTransformInfo()
Gets the transform information.
public OdMarker getStartMarker()
Gets or sets the start marker.
public void setStartMarker(OdMarker value)
Gets or sets the start marker.
value
- The start marker.public OdMarker getEndMarker()
Gets or sets the end marker.
public void setEndMarker(OdMarker value)
Gets or sets the end marker.
value
- The end marker.public float getStartMarkerWidth()
Gets or sets the start width of the marker.
public void setStartMarkerWidth(float value)
Gets or sets the start width of the marker.
value
- The start width of the marker.public float getEndMarkerWidth()
Gets or sets the end width of the marker.
public void setEndMarkerWidth(float value)
Gets or sets the end width of the marker.
value
- The end width of the marker.public int getOpacity()
Gets or sets the opacity.
public void setOpacity(int value)
Gets or sets the opacity.
value
- The opacity.public float getSpaceBefore()
Gets or sets the space before.
public void setSpaceBefore(float value)
Gets or sets the space before.
value
- The space before.public float getPaddingTop()
Gets or sets the padding top.
public void setPaddingTop(float value)
Gets or sets the padding top.
value
- The padding top.public float getPaddingLeft()
Gets or sets the padding left.
public void setPaddingLeft(float value)
Gets or sets the padding left.
value
- The padding left.public float getPaddingRight()
Gets or sets the padding right.
public void setPaddingRight(float value)
Gets or sets the padding right.
value
- The padding right.public float getPaddingBottom()
Gets or sets the padding bottom.
public void setPaddingBottom(float value)
Gets or sets the padding bottom.
value
- The padding bottom.public float getMarginBottom()
Gets or sets the margin bottom.
public void setMarginBottom(float value)
Gets or sets the margin bottom.
value
- The margin bottom.public float getMarginTop()
Gets or sets the margin top.
public void setMarginTop(float value)
Gets or sets the margin top.
value
- The margin top.public float getStartGuide()
Gets or sets the start guide.
public void setStartGuide(float value)
Gets or sets the start guide.
value
- The start guide.public float getEndGuide()
Gets or sets the end guide.
public void setEndGuide(float value)
Gets or sets the end guide.
value
- The end guide.public float getMeasureLineDistance()
Gets or sets the measure line distance.
public void setMeasureLineDistance(float value)
Gets or sets the measure line distance.
value
- The measure line distance.public float getStylePosition()
Gets or sets the style position.
public void setStylePosition(float value)
Gets or sets the style position.
value
- The style position.public OdGraphicStyle copy()
Copies this instance.