Class TextOutline
Represents text outline.
Inheritance
System.Object
TextOutline
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FastReport
Assembly: FastReport.OpenSource.dll
Syntax
public class TextOutline
Constructors
TextOutline()
Initializes a new instance of the TextOutline class.
Declaration
public TextOutline()
TextOutline(Boolean, Color, Single, DashStyle, Boolean)
Initializes a new instance of the TextOutline class with specified parameters.
Declaration
public TextOutline(bool enabled, Color color, float width, DashStyle style, bool drawbehind)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | enabled | True if outline enabled. |
Color | color | Outline color. |
System.Single | width | Outline width. |
DashStyle | style | Outline style. |
System.Boolean | drawbehind | True if outline should be drawn behind text. |
Properties
Color
Gets or sets the outline color.
Declaration
public Color Color { get; set; }
Property Value
Type | Description |
---|---|
Color |
DrawBehind
Enable or disable draw the outline behind of text.
Declaration
public bool DrawBehind { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Enabled
Gets or sets a value indicating that outline is enabled.
Declaration
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Style
Specifies the style of an outline.
Declaration
public DashStyle Style { get; set; }
Property Value
Type | Description |
---|---|
DashStyle |
Width
Gets or sets the outline width.
Declaration
public float Width { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Methods
Assign(TextOutline)
Copies the content of another TextOutline.
Declaration
public void Assign(TextOutline src)
Parameters
Type | Name | Description |
---|---|---|
TextOutline | src | The TextOutline instance to copy the contents from. |
Clone()
Creates the exact copy of this outline.
Declaration
public TextOutline Clone()
Returns
Type | Description |
---|---|
TextOutline | Copy of this outline. |
Serialize(FRWriter, String, TextOutline)
Serializes the TextOutline.
Declaration
public void Serialize(FRWriter writer, string prefix, TextOutline diff)
Parameters
Type | Name | Description |
---|---|---|
FRWriter | writer | Writer object. |
System.String | prefix | TextOutline property name. |
TextOutline | diff | Another TextOutline to compare with. |