Click or drag to resize
Paragraph Constructor (String, Anchor, Color, Nullable<Single>, Nullable<Vector2>, Nullable<Vector2>)
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 Paragraph(
	string text,
	Anchor anchor,
	Color color,
	Nullable<float> scale = null,
	Nullable<Vector2> size = null,
	Nullable<Vector2> offset = null
)

Parameters

text
Type: System.String
Paragraph text (accept new line characters).
anchor
Type: GeonBit.UI.Entities.Anchor
Position anchor.
color
Type: Color
Text fill color.
scale (Optional)
Type: System.Nullable<Single>
Optional font size.
size (Optional)
Type: System.Nullable<Vector2>
Paragraph size (note: not font size, but the region that will contain the paragraph).
offset (Optional)
Type: System.Nullable<Vector2>
Offset from anchor position.
See Also