[]
Creates a View object that encapsulates a LayoutView and adds it as the top layer.
public View CreateView(float width, float height)
| Type | Name | Description |
|---|---|---|
| float | width | The width of the associated LayoutView. |
| float | height | The height of the associated LayoutView. |
| Type | Description |
|---|---|
| View |
Creates a View object that encapsulates a LayoutView and adds it as the top layer.
public View CreateView(float width, float height, Action<GcGraphics, Layer> draw)
| Type | Name | Description |
|---|---|---|
| float | width | The width of the associated LayoutView. |
| float | height | The height of the associated LayoutView. |
| Action<GcGraphics, Layer> | draw | A delegate that accepts a GcGraphics object and a Layer, and draws the layer on the graphics. |
| Type | Description |
|---|---|
| View |