MulticolorParagraph Constructor (String, Anchor, Nullable(Vector2), Nullable(Vector2), Nullable(Single))

GeonBit.UI

MulticolorParagraph Constructor (String, Anchor, NullableVector2, NullableVector2, NullableSingle)
Create the paragraph.

Namespace:  GeonBit.UI.Entities
Assembly:  GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public MulticolorParagraph(
	string text,
	Anchor anchor = Anchor.Auto,
	Nullable<Vector2> size = null,
	Nullable<Vector2> offset = null,
	Nullable<float> scale = null
)

Parameters

text
Type: SystemString
Paragraph text (accept new line characters).
anchor (Optional)
Type: GeonBit.UI.EntitiesAnchor
Position anchor.
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.
scale (Optional)
Type: SystemNullableSingle
Optional font size.
See Also