CmxOutline
Inheritance: java.lang.Object
public class CmxOutline
Represents an outline style.
Constructors
Constructor | Description |
---|---|
CmxOutline() |
Methods
Method | Description |
---|---|
getLineType() | Gets the type of the line. |
setLineType(byte value) | Sets the type of the line. |
getCapsType() | Gets the type of the line caps. |
setCapsType(int value) | Sets the type of the line caps. |
getJoinType() | Gets the type of the line join. |
setJoinType(int value) | Sets the type of the line join. |
getLineWidth() | Gets the width of the line. |
setLineWidth(float value) | Sets the width of the line. |
getStretch() | Gets the stretch value. |
setStretch(float value) | Sets the stretch value. |
getAngle() | Gets the angle. |
setAngle(double value) | Sets the angle. |
getColor() | Gets the outline color. |
setColor(CmxColor value) | Sets the outline color. |
getStroke() | Gets the stroke pattern. |
setStroke(int[] value) | Sets the stroke pattern. |
getStartArrowhead() | Gets the shape for the start of the line |
setStartArrowhead(CmxArrowSpec value) | Sets the shape for the start of the line |
getEndArrowhead() | Gets the shape for the end of the line |
setEndArrowhead(CmxArrowSpec value) | Sets the shape for the end of the line |
toString() | Returns a String that represents this instance. |
equals(Object o) | Check if objects are equal. |
hashCode() | Get hash code of the current object. |
CmxOutline()
public CmxOutline()
getLineType()
public final byte getLineType()
Gets the type of the line.
Returns: byte - the type of the line.
setLineType(byte value)
public final void setLineType(byte value)
Sets the type of the line.
Parameters:
Parameter | Type | Description |
---|---|---|
value | byte | the type of the line. |
getCapsType()
public final int getCapsType()
Gets the type of the line caps.
Returns: int - the type of the line caps.
setCapsType(int value)
public final void setCapsType(int value)
Sets the type of the line caps.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | the type of the line caps. |
getJoinType()
public final int getJoinType()
Gets the type of the line join.
Returns: int - the type of the line join.
setJoinType(int value)
public final void setJoinType(int value)
Sets the type of the line join.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | the type of the line join. |
getLineWidth()
public final float getLineWidth()
Gets the width of the line. Uses common document distance measure unit.
Returns: float - the width of the line.
setLineWidth(float value)
public final void setLineWidth(float value)
Sets the width of the line. Uses common document distance measure unit.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float | the width of the line. |
getStretch()
public final float getStretch()
Gets the stretch value.
Returns: float - the stretch value.
setStretch(float value)
public final void setStretch(float value)
Sets the stretch value.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float | the stretch value. |
getAngle()
public final double getAngle()
Gets the angle.
Returns: double - the angle.
setAngle(double value)
public final void setAngle(double value)
Sets the angle.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double | the angle. |
getColor()
public final CmxColor getColor()
Gets the outline color.
Returns: CmxColor - the outline color.
setColor(CmxColor value)
public final void setColor(CmxColor value)
Sets the outline color.
Parameters:
Parameter | Type | Description |
---|---|---|
value | CmxColor | the outline color. |
getStroke()
public final int[] getStroke()
Gets the stroke pattern.
Returns: int[] - the stroke pattern.
setStroke(int[] value)
public final void setStroke(int[] value)
Sets the stroke pattern.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int[] | the stroke pattern. |
getStartArrowhead()
public final CmxArrowSpec getStartArrowhead()
Gets the shape for the start of the line
Returns: CmxArrowSpec - the shape for the start of the line
setStartArrowhead(CmxArrowSpec value)
public final void setStartArrowhead(CmxArrowSpec value)
Sets the shape for the start of the line
Parameters:
Parameter | Type | Description |
---|---|---|
value | CmxArrowSpec | the shape for the start of the line |
getEndArrowhead()
public final CmxArrowSpec getEndArrowhead()
Gets the shape for the end of the line
Returns: CmxArrowSpec - the shape for the end of the line
setEndArrowhead(CmxArrowSpec value)
public final void setEndArrowhead(CmxArrowSpec value)
Sets the shape for the end of the line
Parameters:
Parameter | Type | Description |
---|---|---|
value | CmxArrowSpec | the shape for the end of the line |
toString()
public String toString()
Returns a String that represents this instance.
Returns: java.lang.String - A String that represents this instance.
equals(Object o)
public boolean equals(Object o)
Check if objects are equal.
Parameters:
Parameter | Type | Description |
---|---|---|
o | java.lang.Object | The other object. |
Returns: boolean - The equality comparison result.
hashCode()
public int hashCode()
Get hash code of the current object.
Returns: int - The hash code.