Redigera

Dela via


AdjustableArrowCap Class

Definition

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

public ref class AdjustableArrowCap sealed : System::Drawing::Drawing2D::CustomLineCap
public sealed class AdjustableArrowCap : System.Drawing.Drawing2D.CustomLineCap
type AdjustableArrowCap = class
    inherit CustomLineCap
Public NotInheritable Class AdjustableArrowCap
Inherits CustomLineCap
Inheritance

Remarks

Note

In .NET 6 and later versions, the System.Drawing.Common package, which includes this type, is only supported on Windows operating systems. Use of this type in cross-platform apps causes compile-time warnings and run-time exceptions. For more information, see System.Drawing.Common only supported on Windows.

Constructors

AdjustableArrowCap(Single, Single, Boolean)

Initializes a new instance of the AdjustableArrowCap class with the specified width, height, and fill property. Whether an arrow end cap is filled depends on the argument passed to the isFilled parameter.

AdjustableArrowCap(Single, Single)

Initializes a new instance of the AdjustableArrowCap class with the specified width and height. The arrow end caps created with this constructor are always filled.

Properties

BaseCap

Gets or sets the LineCap enumeration on which this CustomLineCap is based.

(Inherited from CustomLineCap)
BaseInset

Gets or sets the distance between the cap and the line.

(Inherited from CustomLineCap)
Filled

Gets or sets whether the arrow cap is filled.

Height

Gets or sets the height of the arrow cap.

MiddleInset

Gets or sets the number of units between the outline of the arrow cap and the fill.

StrokeJoin

Gets or sets the LineJoin enumeration that determines how lines that compose this CustomLineCap object are joined.

(Inherited from CustomLineCap)
Width

Gets or sets the width of the arrow cap.

WidthScale

Gets or sets the amount by which to scale this CustomLineCap Class object with respect to the width of the Pen object.

(Inherited from CustomLineCap)

Methods

Clone()

Creates an exact copy of this CustomLineCap.

(Inherited from CustomLineCap)
CreateObjRef(Type)

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.

(Inherited from MarshalByRefObject)
Dispose()

Releases all resources used by this CustomLineCap object.

(Inherited from CustomLineCap)
Dispose(Boolean)

Releases the unmanaged resources used by the CustomLineCap and optionally releases the managed resources.

(Inherited from CustomLineCap)
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetLifetimeService()
Obsolete.

Retrieves the current lifetime service object that controls the lifetime policy for this instance.

(Inherited from MarshalByRefObject)
GetStrokeCaps(LineCap, LineCap)

Gets the caps used to start and end lines that make up this custom cap.

(Inherited from CustomLineCap)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
InitializeLifetimeService()
Obsolete.

Obtains a lifetime service object to control the lifetime policy for this instance.

(Inherited from MarshalByRefObject)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
MemberwiseClone(Boolean)

Creates a shallow copy of the current MarshalByRefObject object.

(Inherited from MarshalByRefObject)
SetStrokeCaps(LineCap, LineCap)

Sets the caps used to start and end lines that make up this custom cap.

(Inherited from CustomLineCap)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to