public class CmxOutline extends Object
Represents an outline style.
Constructor and Description |
---|
CmxOutline() |
Modifier and Type | Method and Description |
---|---|
double |
getAngle()
Gets the angle.
|
int |
getCapsType()
Gets the type of the line caps.
|
CmxColor |
getColor()
Gets the outline color.
|
CmxArrowSpec |
getEndArrowhead()
Gets the shape for the end of the line
|
int |
getJoinType()
Gets the type of the line join.
|
byte |
getLineType()
Gets the type of the line.
|
float |
getLineWidth()
Gets the width of the line.
|
CmxArrowSpec |
getStartArrowhead()
Gets the shape for the start of the line
|
float |
getStretch()
Gets the stretch value.
|
int[] |
getStroke()
Gets the stroke pattern.
|
void |
setAngle(double value)
Sets the angle.
|
void |
setCapsType(int value)
Sets the type of the line caps.
|
void |
setColor(CmxColor value)
Sets the outline color.
|
void |
setEndArrowhead(CmxArrowSpec value)
Sets the shape for the end of the line
|
void |
setJoinType(int value)
Sets the type of the line join.
|
void |
setLineType(byte value)
Sets the type of the line.
|
void |
setLineWidth(float value)
Sets the width of the line.
|
void |
setStartArrowhead(CmxArrowSpec value)
Sets the shape for the start of the line
|
void |
setStretch(float value)
Sets the stretch value.
|
void |
setStroke(int[] value)
Sets the stroke pattern.
|
String |
toString()
Returns a
String that represents this instance. |
public final byte getLineType()
Gets the type of the line.
public final void setLineType(byte value)
Sets the type of the line.
value
- the type of the line.public final int getCapsType()
Gets the type of the line caps.
public final void setCapsType(int value)
Sets the type of the line caps.
value
- the type of the line caps.public final int getJoinType()
Gets the type of the line join.
public final void setJoinType(int value)
Sets the type of the line join.
value
- the type of the line join.public final float getLineWidth()
Gets the width of the line. Uses common document distance measure unit.
public final void setLineWidth(float value)
Sets the width of the line. Uses common document distance measure unit.
value
- the width of the line.public final float getStretch()
Gets the stretch value.
public final void setStretch(float value)
Sets the stretch value.
value
- the stretch value.public final double getAngle()
Gets the angle.
public final void setAngle(double value)
Sets the angle.
value
- the angle.public final CmxColor getColor()
Gets the outline color.
public final void setColor(CmxColor value)
Sets the outline color.
value
- the outline color.public final int[] getStroke()
Gets the stroke pattern.
public final void setStroke(int[] value)
Sets the stroke pattern.
value
- the stroke pattern.public final CmxArrowSpec getStartArrowhead()
Gets the shape for the start of the line
public final void setStartArrowhead(CmxArrowSpec value)
Sets the shape for the start of the line
value
- the shape for the start of the linepublic final CmxArrowSpec getEndArrowhead()
Gets the shape for the end of the line
public final void setEndArrowhead(CmxArrowSpec value)
Sets the shape for the end of the line
value
- the shape for the end of the line