C# 클래스 CardMaker.XML.ProjectLayoutElement

파일 보기 프로젝트 열기: nhmkdev/cardmaker 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ProjectLayoutElement System

공개 메소드들

메소드 설명
DeepCopy ( ProjectLayoutElement zElement, bool bInitializeCache ) : void

Performs a partial deepy copy based on the input element, the name field is left unchanged

GetElementBorderColor ( ) : Color
GetElementColor ( ) : Color
GetElementColorString ( Color zColor ) : string

Converts a color to the a color formatted string for serialization across the app (0x hex form)

GetElementFont ( ) : Font
GetElementOutlineColor ( ) : Color
GetHorizontalAlignment ( ) : StringAlignment
GetVerticalAlignment ( ) : StringAlignment
InitializeCache ( ) : void

Initializes the cache variables for color and font translation

ProjectLayoutElement ( string sName ) : System
SetElementBorderColor ( Color zColor ) : void

Sets the border color and color string

SetElementColor ( Color zColor ) : void

Sets the element color and color string

SetElementFont ( Font zFont ) : void

Sets the font and font string

SetElementOutlineColor ( Color zColor ) : void

Sets the outline color and color string

ToString ( ) : string
TranslateColorString ( string sColor ) : Color

Translates a color string

TranslateFontString ( string fontString ) : Font

Translates a font string to a font

비공개 메소드들

메소드 설명
ProjectLayoutElement ( ) : System

메소드 상세

DeepCopy() 공개 메소드

Performs a partial deepy copy based on the input element, the name field is left unchanged
public DeepCopy ( ProjectLayoutElement zElement, bool bInitializeCache ) : void
zElement ProjectLayoutElement The source element to copy from
bInitializeCache bool flag indicating whether to reinitialize the cache
리턴 void

GetElementBorderColor() 공개 메소드

public GetElementBorderColor ( ) : Color
리턴 Color

GetElementColor() 공개 메소드

public GetElementColor ( ) : Color
리턴 Color

GetElementColorString() 공개 정적인 메소드

Converts a color to the a color formatted string for serialization across the app (0x hex form)
public static GetElementColorString ( Color zColor ) : string
zColor Color
리턴 string

GetElementFont() 공개 메소드

public GetElementFont ( ) : Font
리턴 System.Drawing.Font

GetElementOutlineColor() 공개 메소드

public GetElementOutlineColor ( ) : Color
리턴 Color

GetHorizontalAlignment() 공개 메소드

public GetHorizontalAlignment ( ) : StringAlignment
리턴 StringAlignment

GetVerticalAlignment() 공개 메소드

public GetVerticalAlignment ( ) : StringAlignment
리턴 StringAlignment

InitializeCache() 공개 메소드

Initializes the cache variables for color and font translation
public InitializeCache ( ) : void
리턴 void

ProjectLayoutElement() 공개 메소드

public ProjectLayoutElement ( string sName ) : System
sName string
리턴 System

SetElementBorderColor() 공개 메소드

Sets the border color and color string
public SetElementBorderColor ( Color zColor ) : void
zColor Color The color to pull the values from
리턴 void

SetElementColor() 공개 메소드

Sets the element color and color string
public SetElementColor ( Color zColor ) : void
zColor Color The color to pull the values from
리턴 void

SetElementFont() 공개 메소드

Sets the font and font string
public SetElementFont ( Font zFont ) : void
zFont System.Drawing.Font The font to pull the settings from
리턴 void

SetElementOutlineColor() 공개 메소드

Sets the outline color and color string
public SetElementOutlineColor ( Color zColor ) : void
zColor Color The color to pull the values from
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

TranslateColorString() 공개 정적인 메소드

Translates a color string
public static TranslateColorString ( string sColor ) : Color
sColor string The color string to translate
리턴 Color

TranslateFontString() 공개 정적인 메소드

Translates a font string to a font
public static TranslateFontString ( string fontString ) : Font
fontString string The font string to translate
리턴 System.Drawing.Font