public final class AdjustableArrowCap extends CustomLineCap
Represents an adjustable arrow-shaped line cap. This class cannot be inherited.
CustomLineCap| Constructor and Description |
|---|
AdjustableArrowCap(float width,
float height)
Initializes a new instance of the
AdjustableArrowCap class. |
AdjustableArrowCap(float width,
float height,
boolean isFilled)
Initializes a new instance of the
AdjustableArrowCap class. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getFilled()
Gets a value indicating whether the arrow cap is filled.
|
float |
getHeight()
Gets the height of the arrow cap.
|
float |
getMiddleInset()
Gets the number of units between the outline of the arrow cap and the fill.
|
float |
getWidth()
Gets the width of the arrow cap.
|
void |
setFilled(boolean value)
Sets a value indicating whether the arrow cap is filled.
|
void |
setHeight(float value)
Sets the height of the arrow cap.
|
void |
setMiddleInset(float value)
Sets the number of units between the outline of the arrow cap and the fill.
|
void |
setWidth(float value)
Sets the width of the arrow cap.
|
deepClone, dispose, getBaseCap, getBaseInset, getFillPath, getStrokeCaps, getStrokeJoin, getStrokePath, getWidthScale, setBaseCap, setBaseInset, setStrokeCaps, setStrokeJoin, setWidthScalepublic AdjustableArrowCap(float width,
float height)
Initializes a new instance of the AdjustableArrowCap class.
width - The width of the arrow.height - The height of the arrow.public AdjustableArrowCap(float width,
float height,
boolean isFilled)
Initializes a new instance of the AdjustableArrowCap class.
width - The width of the arrow.height - The height of the arrow.isFilled - true to fill the arrow cap; otherwise, false.public float getHeight()
Gets the height of the arrow cap.
Value: The height of the arrow cap.public void setHeight(float value)
Sets the height of the arrow cap.
Value: The height of the arrow cap.value - the height of the arrow cap.public float getWidth()
Gets the width of the arrow cap.
Value: The width, in units, of the arrow cap.public void setWidth(float value)
Sets the width of the arrow cap.
Value: The width, in units, of the arrow cap.value - the width of the arrow cap.public float getMiddleInset()
Gets the number of units between the outline of the arrow cap and the fill.
Value: The number of units between the outline of the arrow cap and the fill of the arrow cap.public void setMiddleInset(float value)
Sets the number of units between the outline of the arrow cap and the fill.
Value: The number of units between the outline of the arrow cap and the fill of the arrow cap.value - the number of units between the outline of the arrow cap and the fill.public boolean getFilled()
Gets a value indicating whether the arrow cap is filled.
Value: This property is true if the arrow cap is filled; otherwise, false.public void setFilled(boolean value)
Sets a value indicating whether the arrow cap is filled.
Value: This property is true if the arrow cap is filled; otherwise, false.value - a value indicating whether the arrow cap is filled.Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.