Class CmxOutline
Namespace: Aspose.Imaging.FileFormats.Cmx.ObjectModel.Styles
Assembly: Aspose.Imaging.dll (25.7.0)
Represents an outline style.
[JsonObject(MemberSerialization.OptIn)]
public class CmxOutline
{
}
Inheritance
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.
public class YourClassNameHere // assuming YourClassNameHere is the name of the class containing this property
{
[JsonProperty]
public double Angle { get; set; }
}
Property Value
CapsType
Gets or sets the type of the line caps.
[JsonProperty]
public CapsTypes CapsType
{
get;
set;
}
Property Value
Color
Gets or sets the outline color.
[JsonProperty]
public CmxColor Color
{
get;
set;
}
Property Value
EndArrowhead
Gets or sets the shape for the end of the line
public class CmxArrowSpec { get; set; }
[JsonProperty(PropertyName = "EndArrowhead")]
public CmxArrowSpec EndArrowhead { get; set; }
Property Value
JoinType
Gets or sets the type of the line join.
public enum JoinTypes
{
}
[JsonProperty]
public JoinTypes JoinType { get; set; }
Property Value
LineType
Gets or sets the type of the line.
[JsonProperty]
public LineTypes LineType
{
get;
set;
}
Property Value
LineWidth
Gets or sets the width of the line.Uses common document distance measure unit.
[JsonProperty]
public float LineWidth
{
get;
set;
}
Property Value
StartArrowhead
Gets or sets the shape for the start of the line
[JsonProperty]
public CmxArrowSpec StartArrowhead
{
get;
set;
}
Property Value
Stretch
Gets or sets the stretch value.
[JsonProperty]
public float Stretch
{
get;
set;
}
Property Value
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)
{
if (other == null)
return false;
if (ReferenceEquals(this, other))
return true;
return Equals(BaseOutline, other.BaseOutline) &&
Equals(NextOutline, other.NextOutline);
}
Parameters
other
CmxOutline
The other object.
Returns
The equality comparison result.
Equals(object)
Check if objects are equal.
public override bool Equals(object obj)
{
if (obj == null || !(obj is MyClass)) return false;
var other = (MyClass)obj;
}
Parameters
obj
object
The other object.
Returns
The equality comparison result.
GetHashCode()
Get hash code of the current object.
public override int GetHashCode()
{
}
Returns
The hash code.
ToString()
Returns a System.String that represents this instance.
public override string ToString()
{
}
Returns
A System.String that represents this instance.