GeonBit.UI Documentation
ColorInstruction Class |
Hold color instructions for MultiColor paragraphs.

Namespace: GeonBit.UI.Entities
Assembly: GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)

C#
public class ColorInstruction
The ColorInstruction type exposes the following members.

Name | Description | |
---|---|---|
![]() | ColorInstruction | Constructor to use when creating a color instruction. |

Name | Description | |
---|---|---|
![]() | Color | If UseFillColor is false the color here is used for the instruction. |
![]() | UseFillColor | Flag represents whether or not to use the default FillColor for this instruction. |

Name | Description | |
---|---|---|
![]() ![]() | AddCustomColor |
Add a custom color we can use in the multicolor paragraph.
You can also override one of the built-in colors.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | StringToColor |
Converts a supported color string to its respective color.
Supported colors are as follows:
red, blue, green, yellow, brown, black, white, cyan, pink, gray, magenta, orange, purple, silver, gold, teal or default (White)
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
