Class AdjustableArrowCap
Represents an adjustable arrow-shaped line cap that can be added to any Pen.
Implements
Inherited Members
Namespace: DRIT.Drawing.Pens
Assembly: DRIT.Drawing.dll
Syntax
public sealed class AdjustableArrowCap : CustomLineCap, IDisposable
Remarks
An AdjustableArrowCap can be used to draw arrowheads at the ends of lines. The width and height can be adjusted independently, and the arrow can be filled or outlined.
Constructors
AdjustableArrowCap(float, float, bool)
Initializes a new AdjustableArrowCap with the specified width and height.
Declaration
public AdjustableArrowCap(float width, float height, bool isFilled = true)
Parameters
| Type | Name | Description |
|---|---|---|
| float | width | The width of the arrow cap. |
| float | height | The height of the arrow cap. |
| bool | isFilled | If |
Remarks
An AdjustableArrowCap can be used to draw arrowheads at the ends of lines. The width and height can be adjusted independently, and the arrow can be filled or outlined.
Properties
Filled
Gets or sets a value indicating whether the arrow cap is filled.
Declaration
public bool Filled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Remarks
An AdjustableArrowCap can be used to draw arrowheads at the ends of lines. The width and height can be adjusted independently, and the arrow can be filled or outlined.
Height
Gets or sets the height of the arrow cap.
Declaration
public float Height { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
Remarks
An AdjustableArrowCap can be used to draw arrowheads at the ends of lines. The width and height can be adjusted independently, and the arrow can be filled or outlined.
MiddleInset
Gets or sets the middle inset of the arrow cap.
Declaration
public float MiddleInset { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
Remarks
An AdjustableArrowCap can be used to draw arrowheads at the ends of lines. The width and height can be adjusted independently, and the arrow can be filled or outlined.
Width
Gets or sets the width of the arrow cap.
Declaration
public float Width { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
Remarks
An AdjustableArrowCap can be used to draw arrowheads at the ends of lines. The width and height can be adjusted independently, and the arrow can be filled or outlined.
Methods
Clone()
Creates an exact copy of this AdjustableArrowCap.
Declaration
public override CustomLineCap Clone()
Returns
| Type | Description |
|---|---|
| CustomLineCap | A new AdjustableArrowCap with the same properties. |
Overrides
Remarks
An AdjustableArrowCap can be used to draw arrowheads at the ends of lines. The width and height can be adjusted independently, and the arrow can be filled or outlined.