C# 클래스 Core2D.Project.XContainer

Container base class.
상속: XSelectable
파일 보기 프로젝트 열기: Core2D/Core2D 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
CreatePage ( string name = "Page" ) : XContainer

Creates a new XContainer page instance.

CreateTemplate ( string name = "Template", double width = 840, double height = 600 ) : XContainer

Creates a new XContainer template instance.

Invalidate ( ) : void

Invalidate container layers.

SetCurrentLayer ( XLayer layer ) : void

Set current layer.

XContainer ( ) : System.Collections.Immutable

Initializes a new instance of the XContainer class.

this ( string name ) : string

Gets or sets property Value using Name as key for data Properties array values.

If property with the specified key does not exist it is created.

메소드 상세

CreatePage() 공개 정적인 메소드

Creates a new XContainer page instance.
public static CreatePage ( string name = "Page" ) : XContainer
name string The page name.
리턴 XContainer

CreateTemplate() 공개 정적인 메소드

Creates a new XContainer template instance.
public static CreateTemplate ( string name = "Template", double width = 840, double height = 600 ) : XContainer
name string The template name.
width double The template width.
height double The template height.
리턴 XContainer

Invalidate() 공개 메소드

Invalidate container layers.
public Invalidate ( ) : void
리턴 void

SetCurrentLayer() 공개 메소드

Set current layer.
public SetCurrentLayer ( XLayer layer ) : void
layer XLayer The layer instance.
리턴 void

XContainer() 공개 메소드

Initializes a new instance of the XContainer class.
public XContainer ( ) : System.Collections.Immutable
리턴 System.Collections.Immutable

this() 공개 메소드

Gets or sets property Value using Name as key for data Properties array values.
If property with the specified key does not exist it is created.
public this ( string name ) : string
name string The property name value.
리턴 string