DXAdjustableArrowCap Class
An adjustable arrow cap.
Declaration
public class DXAdjustableArrowCap extends DXCustomLineCapBase
Inherited Members
Inheritance
Constructors
DXAdjustableArrowCap() Constructor
Initializes a new instance of the DXAdjustableArrowCap class.
Declaration
public DXAdjustableArrowCap()
DXAdjustableArrowCap(float width, float height, float widthScale, boolean filled) Constructor
Initializes a new instance of the DXAdjustableArrowCap class with specified settings.
Declaration
public DXAdjustableArrowCap(float width, float height, float widthScale, boolean filled)
Parameters
| Name | Type | Description |
|---|---|---|
| width | float | The cap width. |
| height | float | The cap height. |
| widthScale | float | The width scale. |
| filled | boolean |
|
Methods
equals(Object obj) Method
Checks whether this adjustable arrow cap equals the specified object.
Declaration
public boolean equals(Object obj)
Parameters
| Name | Type | Description |
|---|---|---|
| obj | Object | The object to compare with this adjustable arrow cap. |
Returns
| Type | Description |
|---|---|
| boolean |
|
getFilled() Method
Returns whether the arrow cap is filled.
Declaration
public boolean getFilled()
Returns
| Type | Description |
|---|---|
| boolean |
|
getHeight() Method
Returns the arrow cap height.
Declaration
public float getHeight()
Returns
| Type | Description |
|---|---|
| float | The arrow cap height. |
getMiddleInset() Method
Returns the middle inset.
Declaration
public float getMiddleInset()
Returns
| Type | Description |
|---|---|
| float | The middle inset. |
getWidth() Method
Returns the arrow cap width.
Declaration
public float getWidth()
Returns
| Type | Description |
|---|---|
| float | The arrow cap width. |
hashCode() Method
Returns a hash code value for this object.
Declaration
public int hashCode()
Returns
| Type | Description |
|---|---|
| int | The hash code. |
setFilled(boolean value) Method
Specifies whether the arrow cap is filled.
Declaration
public void setFilled(boolean value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | boolean |
|
setHeight(float value) Method
Specifies the arrow cap height.
Declaration
public void setHeight(float value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | float | The arrow cap height. |
setMiddleInset(float value) Method
Specifies the middle inset.
Declaration
public void setMiddleInset(float value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | float | The middle inset. |
setWidth(float value) Method
Specifies the arrow cap width.
Declaration
public void setWidth(float value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | float | The arrow cap width. |