Class GameFontLayoutPlan.Builder
Build a GameFontLayoutPlan.
Assembly: Dalamud.dll
View Source
Declaration
public class GameFontLayoutPlan.Builder
Methods
WithSize(float)
Sets the size of resulting text.
View Source
Declaration
public GameFontLayoutPlan.Builder WithSize(float size)
Returns
Dalamud.Interface.GameFonts.GameFontLayoutPlan.Builder: This.
Parameters
Type | Name | Description |
---|---|---|
System.Single | size | Size in pixels. |
WithMaxWidth(int)
Sets the maximum width of the text.
View Source
Declaration
public GameFontLayoutPlan.Builder WithMaxWidth(int maxWidth)
Returns
Dalamud.Interface.GameFonts.GameFontLayoutPlan.Builder: This.
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | maxWidth | Maximum width in pixels. |
WithHorizontalAlignment(HorizontalAlignment)
Sets the horizontal alignment of the text.
View Source
Declaration
public GameFontLayoutPlan.Builder WithHorizontalAlignment(GameFontLayoutPlan.HorizontalAlignment horizontalAlignment)
Returns
Dalamud.Interface.GameFonts.GameFontLayoutPlan.Builder: This.
Parameters
Type | Name | Description |
---|---|---|
Dalamud.Interface.GameFonts.GameFontLayoutPlan.HorizontalAlignment | horizontalAlignment | Horizontal alignment. |
Build()
Builds the layout plan.
View Source
Declaration
public GameFontLayoutPlan Build()
Returns
Dalamud.Interface.GameFonts.GameFontLayoutPlan: Newly created layout plan.