Class CmxOutline

Class CmxOutline

Namespace: Aspose.Imaging.FileFormats.Cmx.ObjectModel.Styles
Assembly: Aspose.Imaging.dll (25.2.0)

Represents an outline style.

[JsonObject(MemberSerialization.OptIn)]
public class CmxOutline

Inheritance

objectCmxOutline

Inherited Members

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

Constructors

CmxOutline()

public CmxOutline()

Properties

Angle

Gets or sets the angle.

[JsonProperty]
public double Angle { get; set; }

Property Value

double

CapsType

Gets or sets the type of the line caps.

[JsonProperty]
public CapsTypes CapsType { get; set; }

Property Value

CapsTypes

Color

Gets or sets the outline color.

[JsonProperty]
public CmxColor Color { get; set; }

Property Value

CmxColor

EndArrowhead

Gets or sets the shape for the end of the line

[JsonProperty]
public CmxArrowSpec EndArrowhead { get; set; }

Property Value

CmxArrowSpec

JoinType

Gets or sets the type of the line join.

[JsonProperty]
public JoinTypes JoinType { get; set; }

Property Value

JoinTypes

LineType

Gets or sets the type of the line.

[JsonProperty]
public LineTypes LineType { get; set; }

Property Value

LineTypes

LineWidth

Gets or sets the width of the line. Uses common document distance measure unit.

[JsonProperty]
public float LineWidth { get; set; }

Property Value

float

StartArrowhead

Gets or sets the shape for the start of the line

[JsonProperty]
public CmxArrowSpec StartArrowhead { get; set; }

Property Value

CmxArrowSpec

Stretch

Gets or sets the stretch value.

[JsonProperty]
public float Stretch { get; set; }

Property Value

float

Stroke

Gets or sets the stroke pattern.

[JsonProperty]
public int[] Stroke { get; set; }

Property Value

int[]

Methods

Equals(CmxOutline)

Check if objects are equal.

protected bool Equals(CmxOutline other)

Parameters

other CmxOutline

The other object.

Returns

bool

The equality comparison result.

Equals(object)

Check if objects are equal.

public override bool Equals(object obj)

Parameters

obj object

The other object.

Returns

bool

The equality comparison result.

GetHashCode()

Get hash code of the current object.

public override int GetHashCode()

Returns

int

The hash code.

ToString()

Returns a System.String that represents this instance.

public override string ToString()

Returns

string

A System.String that represents this instance.