C# Class TexturedFontEditor.Helper

Afficher le fichier Open project: 9chu/LuaSTGPlus

Méthodes publiques

Méthode Description
GetFirstElement ( XmlElement Xml, string TagName ) : XmlElement
GetXmlResValue ( XmlElement Xml, string TagName, string Attribute = "Value" ) : string
IsXmlHasElement ( XmlElement Xml, string TagName ) : bool
ShowErr ( string Msg, string Caption = "错误" ) : void
StringToColor ( string Data ) : Color
StringToPointF ( string Data ) : PointF
StringToRectangleF ( string Data ) : RectangleF
WriteFSTGXmlType ( XmlDocument XmlDoc, string TargetFile ) : void
XmlElementToColor ( XmlElement Node, string NodeName, string Attribute = "Value" ) : Color
XmlElementToPointF ( XmlElement Node, string NodeName, string Attribute = "Value" ) : PointF
XmlElementToRectangleF ( XmlElement Node, string NodeName, string Attribute = "Value" ) : RectangleF

Method Details

GetFirstElement() public static méthode

public static GetFirstElement ( XmlElement Xml, string TagName ) : XmlElement
Xml System.Xml.XmlElement
TagName string
Résultat System.Xml.XmlElement

GetXmlResValue() public static méthode

public static GetXmlResValue ( XmlElement Xml, string TagName, string Attribute = "Value" ) : string
Xml System.Xml.XmlElement
TagName string
Attribute string
Résultat string

IsXmlHasElement() public static méthode

public static IsXmlHasElement ( XmlElement Xml, string TagName ) : bool
Xml System.Xml.XmlElement
TagName string
Résultat bool

ShowErr() public static méthode

public static ShowErr ( string Msg, string Caption = "错误" ) : void
Msg string
Caption string
Résultat void

StringToColor() public static méthode

public static StringToColor ( string Data ) : Color
Data string
Résultat Color

StringToPointF() public static méthode

public static StringToPointF ( string Data ) : PointF
Data string
Résultat System.Drawing.PointF

StringToRectangleF() public static méthode

public static StringToRectangleF ( string Data ) : RectangleF
Data string
Résultat System.Drawing.RectangleF

WriteFSTGXmlType() public static méthode

public static WriteFSTGXmlType ( XmlDocument XmlDoc, string TargetFile ) : void
XmlDoc System.Xml.XmlDocument
TargetFile string
Résultat void

XmlElementToColor() public static méthode

public static XmlElementToColor ( XmlElement Node, string NodeName, string Attribute = "Value" ) : Color
Node System.Xml.XmlElement
NodeName string
Attribute string
Résultat Color

XmlElementToPointF() public static méthode

public static XmlElementToPointF ( XmlElement Node, string NodeName, string Attribute = "Value" ) : PointF
Node System.Xml.XmlElement
NodeName string
Attribute string
Résultat System.Drawing.PointF

XmlElementToRectangleF() public static méthode

public static XmlElementToRectangleF ( XmlElement Node, string NodeName, string Attribute = "Value" ) : RectangleF
Node System.Xml.XmlElement
NodeName string
Attribute string
Résultat System.Drawing.RectangleF