Class EmfPlusCustomLineCapData
Namespace: Aspose.Imaging.FileFormats.Emf.EmfPlus.Objects
Assembly: Aspose.Imaging.dll (25.7.0)
The EmfPlusCustomLineCapData object specifies default data for a custom line cap.
public sealed class EmfPlusCustomLineCapData : EmfPlusCustomBaseLineCap
{
private double m_Angle;
private byte[] m_BlendFactors;
private short m_Count;
private bool m_IsDash;
private float m_Offset;
private byte[] m_P1;
private byte[] m_P2;
public double Angle
{
get { return this.m_Angle; }
set { this.m_Angle = value; }
}
public byte[] BlendFactors
{
get { return this.m_BlendFactors; }
set { this.m_BlendFactors = value; }
}
public short Count
{
get { return this.m_Count; }
set { this.m_Count = value; }
}
public bool IsDash
{
get { return this.m_IsDash; }
set { this.m_IsDash = value; }
}
public float Offset
{
get { return this.m_Offset; }
set { this.m_Offset = value; }
}
public byte[] P1
{
get { return this.m_P1; }
set { this.m_P1 = value; }
}
public byte[] P2
{
get { return this.m_P2; }
set { this.m_P2 = value; }
}
}
Inheritance
object ← MetaObject ← EmfPlusObject ← EmfPlusStructureObjectType ← EmfPlusCustomBaseLineCap ← EmfPlusCustomLineCapData
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
BaseInset
Gets or sets 32-bit floating-point value that specifies the distance between the beginningof the line cap and the end of the line.
public float BaseInset
{
get;
set;
}
Property Value
CustomLineCapDataFlags
Gets or sets 32-bit unsigned integer that specifies the data in the OptionalData field
public EmfPlusCustomLineCapDataFlags CustomLineCapDataFlags
{
get;
set;
}
Property Value
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
OptionalData
Gets or sets optional EmfPlusCustomLineCapOptionalData object (section 2.2.2.14)that specifies additional data for the custom graphics line cap. The specific contents of this field are determinedby 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 whatline cap is to be used at the end of the line to be drawn.
public int StrokeEndCap
{
get;
set;
}
Property Value
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
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 bythe 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; // Add semicolon for property declaration
{
get
{
return this.strokeJoin;
}
set
{
this.strokeJoin = value;
}
}
Property Value
StrokeMiterLimit
Gets or sets 32-bit floating-point value that contains the limit of the thicknessof the join on a mitered corner by setting the maximum allowed ratioof miter length to line width.
public float StrokeMiterLimit
{
get;
set;
}
Property Value
StrokeStartCap
Gets or sets 32-bit unsigned integer that specifies the value in the LineCap enumeration that indicates theline cap used at the start of the line to be drawn
public int StrokeStartCap
{
get;
set;
}
Property Value
WidthScale
Gets or sets 32-bit floating-point value that specifies the amount by which toscale the custom line cap with respect to the width of the EmfPlusPenobject (section 2.2.1.7) that is used to draw the lines.
public float WidthScale
{
get;
set;
}