C# 클래스 TexturedFontEditor.Helper

파일 보기 프로젝트 열기: 9chu/LuaSTGPlus

공개 메소드들

메소드 설명
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

메소드 상세

GetFirstElement() 공개 정적인 메소드

public static GetFirstElement ( XmlElement Xml, string TagName ) : XmlElement
Xml System.Xml.XmlElement
TagName string
리턴 System.Xml.XmlElement

GetXmlResValue() 공개 정적인 메소드

public static GetXmlResValue ( XmlElement Xml, string TagName, string Attribute = "Value" ) : string
Xml System.Xml.XmlElement
TagName string
Attribute string
리턴 string

IsXmlHasElement() 공개 정적인 메소드

public static IsXmlHasElement ( XmlElement Xml, string TagName ) : bool
Xml System.Xml.XmlElement
TagName string
리턴 bool

ShowErr() 공개 정적인 메소드

public static ShowErr ( string Msg, string Caption = "错误" ) : void
Msg string
Caption string
리턴 void

StringToColor() 공개 정적인 메소드

public static StringToColor ( string Data ) : Color
Data string
리턴 Color

StringToPointF() 공개 정적인 메소드

public static StringToPointF ( string Data ) : PointF
Data string
리턴 System.Drawing.PointF

StringToRectangleF() 공개 정적인 메소드

public static StringToRectangleF ( string Data ) : RectangleF
Data string
리턴 System.Drawing.RectangleF

WriteFSTGXmlType() 공개 정적인 메소드

public static WriteFSTGXmlType ( XmlDocument XmlDoc, string TargetFile ) : void
XmlDoc System.Xml.XmlDocument
TargetFile string
리턴 void

XmlElementToColor() 공개 정적인 메소드

public static XmlElementToColor ( XmlElement Node, string NodeName, string Attribute = "Value" ) : Color
Node System.Xml.XmlElement
NodeName string
Attribute string
리턴 Color

XmlElementToPointF() 공개 정적인 메소드

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

XmlElementToRectangleF() 공개 정적인 메소드

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