• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class AdjustableArrowCap

Represents an adjustable arrow-shaped line cap that can be added to any Pen.

Inheritance
object
CustomLineCap
AdjustableArrowCap
Implements
IDisposable
Inherited Members
CustomLineCap.FillPath
CustomLineCap.StrokePath
CustomLineCap.BaseCap
CustomLineCap.StrokeJoin
CustomLineCap.BaseInset
CustomLineCap.WidthScale
CustomLineCap.Dispose()
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
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 true, the arrow cap is filled; otherwise, it is outlined.

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
CustomLineCap.Clone()
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.

Implements

IDisposable
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX