GeonBit.UI Documentation
DefaultParagraphGenerator Delegate |
Callback to generate default paragraph type for internal entities.
Namespace: GeonBit.UI
Assembly: GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)

C#
public delegate Paragraph DefaultParagraphGenerator( string text, Anchor anchor, Nullable<Color> color = null, Nullable<float> scale = null, Nullable<Vector2> size = null, Nullable<Vector2> offset = null )
Parameters
- text
- Type: SystemString
Paragraph starting text. - anchor
- Type: GeonBit.UI.EntitiesAnchor
Paragraph anchor. - color (Optional)
- Type: SystemNullableColor
Optional fill color. - scale (Optional)
- Type: SystemNullableSingle
Optional scale. - size (Optional)
- Type: SystemNullableVector2
Optional size. - offset (Optional)
- Type: SystemNullableVector2
Optional offset
Return Value
Type: Paragraph