AdjustableArrowCap

Inheritance: java.lang.Object, com.aspose.drawing.drawing2d.CustomLineCap

public final class AdjustableArrowCap extends CustomLineCap

Represents an adjustable arrow-shaped line cap. This class cannot be inherited.

Constructors

ConstructorDescription
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.

Methods

MethodDescription
getHeight()Gets the height of the arrow cap.
setHeight(float value)Sets the height of the arrow cap.
getWidth()Gets the width of the arrow cap.
setWidth(float value)Sets the width of the arrow cap.
getMiddleInset()Gets the number of units between the outline of the arrow cap and the fill.
setMiddleInset(float value)Sets the number of units between the outline of the arrow cap and the fill.
getFilled()Gets a value indicating whether the arrow cap is filled.
setFilled(boolean value)Sets a value indicating whether the arrow cap is filled.

AdjustableArrowCap(float width, float height)

public AdjustableArrowCap(float width, float height)

Initializes a new instance of the AdjustableArrowCap class.

Parameters:

ParameterTypeDescription
widthfloatThe width of the arrow.
heightfloatThe height of the arrow.

AdjustableArrowCap(float width, float height, boolean isFilled)

public AdjustableArrowCap(float width, float height, boolean isFilled)

Initializes a new instance of the AdjustableArrowCap class.

Parameters:

ParameterTypeDescription
widthfloatThe width of the arrow.
heightfloatThe height of the arrow.
isFilledbooleantrue to fill the arrow cap; otherwise, false.

getHeight()

public float getHeight()

Gets the height of the arrow cap.

Value: The height of the arrow cap.

Returns: float - the height of the arrow cap.

setHeight(float value)

public void setHeight(float value)

Sets the height of the arrow cap.

Value: The height of the arrow cap.

Parameters:

ParameterTypeDescription
valuefloatthe height of the arrow cap.

getWidth()

public float getWidth()

Gets the width of the arrow cap.

Value: The width, in units, of the arrow cap.

Returns: float - the width of the arrow cap.

setWidth(float value)

public void setWidth(float value)

Sets the width of the arrow cap.

Value: The width, in units, of the arrow cap.

Parameters:

ParameterTypeDescription
valuefloatthe width of the arrow cap.

getMiddleInset()

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.

Returns: float - the number of units between the outline of the arrow cap and the fill.

setMiddleInset(float value)

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.

Parameters:

ParameterTypeDescription
valuefloatthe number of units between the outline of the arrow cap and the fill.

getFilled()

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.

Returns: boolean - a value indicating whether the arrow cap is filled.

setFilled(boolean value)

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.

Parameters:

ParameterTypeDescription
valuebooleana value indicating whether the arrow cap is filled.