Struct SeStringDrawParams
Render styles for a SeString.
Assembly: Dalamud.dll
public struct SeStringDrawParams : IEquatable<SeStringDrawParams>
Implements:
System.IEquatable<Dalamud.Interface.ImGuiSeStringRenderer.SeStringDrawParams>
Properties
TargetDrawList
Gets or sets the target draw list.
public ImDrawListPtr? TargetDrawList { readonly get; set; }
GetEntity
Gets or sets the function to be called on every codepoint and payload for the purpose of offering chances to draw something else instead of glyphs or SeString payload entities.
public SeStringReplacementEntity.GetEntityDelegate? GetEntity { readonly get; set; }
ScreenOffset
Gets or sets the screen offset of the left top corner.
public Vector2? ScreenOffset { readonly get; set; }
Font
Gets or sets the font to use.
public ImFontPtr? Font { readonly get; set; }
FontSize
Gets or sets the font size.
public float? FontSize { readonly get; set; }
LineHeight
Gets or sets the line height ratio.
public float? LineHeight { readonly get; set; }
WrapWidth
Gets or sets the wrapping width.
public float? WrapWidth { readonly get; set; }
LinkUnderlineThickness
Gets or sets the thickness of underline under links.
public float? LinkUnderlineThickness { readonly get; set; }
Opacity
Gets or sets the opacity, commonly called "alpha".
public float? Opacity { readonly get; set; }
EdgeStrength
Gets or sets the strength of the edge, which will have effects on the edge opacity.
public float? EdgeStrength { readonly get; set; }
ThemeIndex
Gets or sets the theme that will decide the colors to use for Lumina.Text.Payloads.MacroCode.ColorType
and Lumina.Text.Payloads.MacroCode.EdgeColorType.
public int? ThemeIndex { readonly get; set; }
Color
Gets or sets the color of the rendered text.
public uint? Color { readonly get; set; }
EdgeColor
Gets or sets the color of the rendered text edge.
public uint? EdgeColor { readonly get; set; }
ShadowColor
Gets or sets the color of the rendered text shadow.
public uint? ShadowColor { readonly get; set; }
LinkHoverBackColor
Gets or sets the background color of a link when hovered.
public uint? LinkHoverBackColor { readonly get; set; }
LinkActiveBackColor
Gets or sets the background color of a link when active.
public uint? LinkActiveBackColor { readonly get; set; }
ForceEdgeColor
Gets or sets a value indicating whether to force the color of the rendered text edge.
public bool ForceEdgeColor { readonly get; set; }
Bold
Gets or sets a value indicating whether the text is rendered bold.
public bool Bold { readonly get; set; }
Italic
Gets or sets a value indicating whether the text is rendered italic.
public bool Italic { readonly get; set; }
Edge
Gets or sets a value indicating whether the text is rendered with edge.
public bool Edge { readonly get; set; }
Shadow
Gets or sets a value indicating whether the text is rendered with shadow.
public bool Shadow { readonly get; set; }
Methods
ToString()
public override readonly string ToString()
Returns
System.String
GetHashCode()
public override readonly int GetHashCode()
Returns
System.Int32
Equals(object)
public override readonly bool Equals(object obj)
Returns
System.Boolean
Parameters
| Type | Name |
|---|---|
System.Object | obj |
Equals(SeStringDrawParams)
public readonly bool Equals(SeStringDrawParams other)
Returns
System.Boolean
Parameters
| Type | Name |
|---|---|
| Dalamud.Interface.ImGuiSeStringRenderer.SeStringDrawParams | other |
Implements
System.IEquatable<Dalamud.Interface.ImGuiSeStringRenderer.SeStringDrawParams>