Table of Contents

Class Brush

Namespace
TaleWorlds.GauntletUI
Assembly
TaleWorlds.GauntletUI.dll
public class Brush
Inheritance
Brush
Inherited Members

Constructors

Brush()

public Brush()

Properties

AlphaFactor

public float AlphaFactor { get; set; }

Property Value

float

ClonedFrom

public Brush ClonedFrom { get; }

Property Value

Brush

Color

public Color Color { get; set; }

Property Value

Color

ColorFactor

public float ColorFactor { get; set; }

Property Value

float

DefaultLayer

public BrushLayer DefaultLayer { get; }

Property Value

BrushLayer

DefaultStyle

public Style DefaultStyle { get; }

Property Value

Style

DefaultStyleLayer

public StyleLayer DefaultStyleLayer { get; }

Property Value

StyleLayer

Font

public Font Font { get; set; }

Property Value

Font

FontColor

public Color FontColor { get; set; }

Property Value

Color

FontSize

public int FontSize { get; set; }

Property Value

int

FontStyle

public FontStyle FontStyle { get; set; }

Property Value

FontStyle

GlobalAlphaFactor

[Editor(false)]
public float GlobalAlphaFactor { get; set; }

Property Value

float

GlobalColor

[Editor(false)]
public Color GlobalColor { get; set; }

Property Value

Color

GlobalColorFactor

[Editor(false)]
public float GlobalColorFactor { get; set; }

Property Value

float

HorizontalFlip

[Editor(false)]
public bool HorizontalFlip { get; set; }

Property Value

bool

HueFactor

public float HueFactor { get; set; }

Property Value

float

Layers

[Editor(false)]
public Dictionary<string, BrushLayer>.ValueCollection Layers { get; }

Property Value

Dictionary<string, BrushLayer>.ValueCollection

Name

[Editor(false)]
public string Name { get; set; }

Property Value

string

SaturationFactor

public float SaturationFactor { get; set; }

Property Value

float

SoundProperties

public SoundProperties SoundProperties { get; set; }

Property Value

SoundProperties

Sprite

public Sprite Sprite { get; set; }

Property Value

Sprite

Styles

[Editor(false)]
public Dictionary<string, Style>.ValueCollection Styles { get; }

Property Value

Dictionary<string, Style>.ValueCollection

TextAlphaFactor

public float TextAlphaFactor { get; set; }

Property Value

float

TextColorFactor

public float TextColorFactor { get; set; }

Property Value

float

TextHorizontalAlignment

[Editor(false)]
public TextHorizontalAlignment TextHorizontalAlignment { get; set; }

Property Value

TextHorizontalAlignment

TextHueFactor

public float TextHueFactor { get; set; }

Property Value

float

TextSaturationFactor

public float TextSaturationFactor { get; set; }

Property Value

float

TextValueFactor

public float TextValueFactor { get; set; }

Property Value

float

TextVerticalAlignment

[Editor(false)]
public TextVerticalAlignment TextVerticalAlignment { get; set; }

Property Value

TextVerticalAlignment

TransitionDuration

[Editor(false)]
public float TransitionDuration { get; set; }

Property Value

float

ValueFactor

public float ValueFactor { get; set; }

Property Value

float

VerticalFlip

[Editor(false)]
public bool VerticalFlip { get; set; }

Property Value

bool

Methods

AddAnimation(BrushAnimation)

public void AddAnimation(BrushAnimation animation)

Parameters

animation BrushAnimation

AddLayer(BrushLayer)

public void AddLayer(BrushLayer layer)

Parameters

layer BrushLayer

AddStyle(Style)

public void AddStyle(Style style)

Parameters

style Style

Clone()

public Brush Clone()

Returns

Brush

FillFrom(Brush)

public void FillFrom(Brush brush)

Parameters

brush Brush

GetAnimation(string)

public BrushAnimation GetAnimation(string name)

Parameters

name string

Returns

BrushAnimation

GetAnimations()

public IEnumerable<BrushAnimation> GetAnimations()

Returns

IEnumerable<BrushAnimation>

GetLayer(string)

public BrushLayer GetLayer(string name)

Parameters

name string

Returns

BrushLayer

GetStyle(string)

public Style GetStyle(string name)

Parameters

name string

Returns

Style

GetStyleOrDefault(string)

public Style GetStyleOrDefault(string name)

Parameters

name string

Returns

Style

IsCloneRelated(Brush)

public bool IsCloneRelated(Brush brush)

Parameters

brush Brush

Returns

bool

RemoveLayer(string)

public void RemoveLayer(string layerName)

Parameters

layerName string

RemoveStyle(string)

public void RemoveStyle(string styleName)

Parameters

styleName string

ToString()

public override string ToString()

Returns

string

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).