Click or drag to resize
RichParagraph 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)
Syntax
C#
public RichParagraph(
	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.
See Also