Class GraphicsTextPreferences
Last update: 09.03.2026Namespace: OpenTD.UserPreferences
Assembly: OpenTD.dll
Use to set the global dwg text preferences.
[MessagePackObject(true)]
public class GraphicsTextPreferences : Preferences, IUpdatable
Inheritance
object ← TdConnected ← Preferences ← GraphicsTextPreferences
Implements
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
GraphicsTextPreferences()
public GraphicsTextPreferences()
GraphicsTextPreferences(ThermalDesktop)
public GraphicsTextPreferences(ThermalDesktop _td)
Parameters
_td ThermalDesktop
Properties
compartmentTextColor
public int compartmentTextColor { get; set; }
Property Value
compartmentTextScale
public double compartmentTextScale { get; set; }
Property Value
compartmentTextShow
public bool compartmentTextShow { get; set; }
Property Value
compartmentTextStringIndex
public int compartmentTextStringIndex { get; set; }
Property Value
fklocTextColor
public int fklocTextColor { get; set; }
Property Value
fklocTextScale
public double fklocTextScale { get; set; }
Property Value
fklocTextShow
public bool fklocTextShow { get; set; }
Property Value
fklocTextStringIndex
public int fklocTextStringIndex { get; set; }
Property Value
fontName
public string fontName { get; set; }
Property Value
lumpTextColor
public int lumpTextColor { get; set; }
Property Value
lumpTextScale
public double lumpTextScale { get; set; }
Property Value
lumpTextShow
public bool lumpTextShow { get; set; }
Property Value
lumpTextStringIndex
public int lumpTextStringIndex { get; set; }
Property Value
nodeTextColor
public int nodeTextColor { get; set; }
Property Value
nodeTextScale
public double nodeTextScale { get; set; }
Property Value
nodeTextShow
public bool nodeTextShow { get; set; }
Property Value
nodeTextStringIndex
public int nodeTextStringIndex { get; set; }
Property Value
numbersSize
public Dimensional<ModelLength> numbersSize { get; set; }
Property Value
pathTextColor
public int pathTextColor { get; set; }
Property Value
pathTextScale
public double pathTextScale { get; set; }
Property Value
pathTextShow
public bool pathTextShow { get; set; }
Property Value
pathTextStringIndex
public int pathTextStringIndex { get; set; }
Property Value
pipeTextColor
public int pipeTextColor { get; set; }
Property Value
pipeTextScale
public double pipeTextScale { get; set; }
Property Value
pipeTextShow
public bool pipeTextShow { get; set; }
Property Value
pipeTextStringIndex
public int pipeTextStringIndex { get; set; }
Property Value
portTextColor
public int portTextColor { get; set; }
Property Value
portTextScale
public double portTextScale { get; set; }
Property Value
portTextShow
public bool portTextShow { get; set; }
Property Value
portTextStringIndex
public int portTextStringIndex { get; set; }
Property Value
screenNumberPercent
public double screenNumberPercent { get; set; }
Property Value
showFluidSubmodelNames
public bool showFluidSubmodelNames { get; set; }
Property Value
showNodeSubmodelNames
public bool showNodeSubmodelNames { get; set; }
Property Value
teeTextColor
public int teeTextColor { get; set; }
Property Value
teeTextScale
public double teeTextScale { get; set; }
Property Value
teeTextShow
public bool teeTextShow { get; set; }
Property Value
teeTextStringIndex
public int teeTextStringIndex { get; set; }
Property Value
tieTextColor
public int tieTextColor { get; set; }
Property Value
tieTextScale
public double tieTextScale { get; set; }
Property Value
tieTextShow
public bool tieTextShow { get; set; }
Property Value
tieTextStringIndex
public int tieTextStringIndex { get; set; }
Property Value
useScreenNumberPercent
public bool useScreenNumberPercent { get; set; }
Property Value
Methods
Update()
Updates the TD entity with the latest client data.
public void Update()
UpdateFromTD()
Updates the client-side instance with the latest data from the TD entity.
public void UpdateFromTD()