GeonBit.UI Documentation
MulticolorParagraph Constructor (String, Anchor, Color, NullableSingle, NullableVector2, NullableVector2) |
Create the paragraph with optional fill color and font size.
Namespace: GeonBit.UI.Entities
Assembly: GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)

C#
public MulticolorParagraph( string text, Anchor anchor, Color color, Nullable<float> scale = null, Nullable<Vector2> size = null, Nullable<Vector2> offset = null )
Parameters
- text
- Type: SystemString
Paragraph text (accept new line characters). - anchor
- Type: GeonBit.UI.EntitiesAnchor
Position anchor. - color
- Type: Color
Text fill color. - scale (Optional)
- Type: SystemNullableSingle
Optional font size. - size (Optional)
- Type: SystemNullableVector2
Paragraph size (note: not font size, but the region that will contain the paragraph). - offset (Optional)
- Type: SystemNullableVector2
Offset from anchor position.
