Class CapSettings
Specifies a start and end line caps.
Inheritance
System.Object
CapSettings
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FastReport
Assembly: FastReport.OpenSource.dll
Syntax
public class CapSettings
Constructors
CapSettings()
Initializes a new instance of the CapSettings class with default settings.
Declaration
public CapSettings()
Properties
Height
Gets or sets a height of the cap.
Declaration
public float Height { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Style
Gets or sets a cap style.
Declaration
public CapStyle Style { get; set; }
Property Value
Type | Description |
---|---|
CapStyle |
Width
Gets or sets a width of the cap.
Declaration
public float Width { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Methods
Assign(CapSettings)
Assigns values from another source.
Declaration
public void Assign(CapSettings source)
Parameters
Type | Name | Description |
---|---|---|
CapSettings | source | Source to assign from. |
Clone()
Creates exact copy of this object.
Declaration
public CapSettings Clone()
Returns
Type | Description |
---|---|
CapSettings | Copy of this object. |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
Serialize(String, FRWriter, CapSettings)
Serializes the cap settings.
Declaration
public void Serialize(string prefix, FRWriter writer, CapSettings diff)
Parameters
Type | Name | Description |
---|---|---|
System.String | prefix | Name of the cap property. |
FRWriter | writer | Writer object. |
CapSettings | diff | Another cap to compare with. |
Remarks
This method is for internal use only.