Class EmfPlusCustomLineCapData

Class EmfPlusCustomLineCapData

Namespace: Aspose.Imaging.FileFormats.Emf.EmfPlus.Objects
Assembly: Aspose.Imaging.dll (25.2.0)

The EmfPlusCustomLineCapData object specifies default data for a custom line cap.

public sealed class EmfPlusCustomLineCapData : EmfPlusCustomBaseLineCap

Inheritance

objectMetaObjectEmfPlusObjectEmfPlusStructureObjectTypeEmfPlusCustomBaseLineCapEmfPlusCustomLineCapData

Inherited Members

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

EmfPlusCustomLineCapData()

public EmfPlusCustomLineCapData()

Properties

BaseCap

Gets or sets 32-bit unsigned integer that specifies the value from the LineCap enumeration (section 2.1.1.18) on which the custom line cap is based.

public EmfPlusLineCapType BaseCap { get; set; }

Property Value

EmfPlusLineCapType

BaseInset

Gets or sets 32-bit floating-point value that specifies the distance between the beginning of the line cap and the end of the line.

public float BaseInset { get; set; }

Property Value

float

CustomLineCapDataFlags

Gets or sets 32-bit unsigned integer that specifies the data in the OptionalData field

public EmfPlusCustomLineCapDataFlags CustomLineCapDataFlags { get; set; }

Property Value

EmfPlusCustomLineCapDataFlags

FillHotSpot

Gets or sets EmfPlusPointF object that is not currently used. It MUST be set to {0.0, 0.0}.

public PointF FillHotSpot { get; set; }

Property Value

PointF

OptionalData

Gets or sets optional EmfPlusCustomLineCapOptionalData object (section 2.2.2.14) that specifies additional data for the custom graphics line cap. T he specific contents of this field are determined by the value of the CustomLineCapDataFlags field.

public EmfPlusCustomLineCapOptionalData OptionalData { get; set; }

Property Value

EmfPlusCustomLineCapOptionalData

StrokeEndCap

Gets or sets 32-bit unsigned integer that specifies the value in the LineCap enumeration that indicates what line cap is to be used at the end of the line to be drawn.

public int StrokeEndCap { get; set; }

Property Value

int

StrokeHotSpot

Gets or sets EmfPlusPointF object that is not currently used. It MUST be set to {0.0, 0.0}.

public PointF StrokeHotSpot { get; set; }

Property Value

PointF

StrokeJoin

Gets or sets 32-bit unsigned integer that specifies the value in the LineJoin enumeration (section 2.1.1.19), which specifies how to join two lines that are drawn by the same pen and whose ends meet. At the intersection of the two line ends, a line join makes the connection look more continuous.

public EmfPlusLineJoinType StrokeJoin { get; set; }

Property Value

EmfPlusLineJoinType

StrokeMiterLimit

Gets or sets 32-bit floating-point value that contains the limit of the thickness of the join on a mitered corner by setting the maximum allowed ratio of miter length to line width.

public float StrokeMiterLimit { get; set; }

Property Value

float

StrokeStartCap

Gets or sets 32-bit unsigned integer that specifies the value in the LineCap enumeration that indicates the line cap used at the start of the line to be drawn

public int StrokeStartCap { get; set; }

Property Value

int

WidthScale

Gets or sets 32-bit floating-point value that specifies the amount by which to scale the custom line cap with respect to the width of the EmfPlusPen object (section 2.2.1.7) that is used to draw the lines.

public float WidthScale { get; set; }

Property Value

float