C# Class Core2D.Project.XLayer

Container layer.
Inheritance: XSelectable
Exibir arquivo Open project: Core2D/Core2D Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Create ( string name = "Layer", XContainer owner = null, bool isVisible = true ) : XLayer

Creates a new XLayer instance.

Invalidate ( ) : void

Invalidate layer shapes.

XLayer ( ) : System

Initializes a new instance of the XLayer class.

Method Details

Create() public static method

Creates a new XLayer instance.
public static Create ( string name = "Layer", XContainer owner = null, bool isVisible = true ) : XLayer
name string The layer name.
owner XContainer The layer owner.
isVisible bool The flag indicating whether layer is visible.
return XLayer

Invalidate() public method

Invalidate layer shapes.
public Invalidate ( ) : void
return void

XLayer() public method

Initializes a new instance of the XLayer class.
public XLayer ( ) : System
return System