Method | Description | |
---|---|---|
Measure ( |
Measures the element, returning the size (in pixels) it would occupy if rendered with the specified renderer.
|
|
Render ( |
Renders the element using the specified renderer.
|
public Measure ( |
||
renderer | The renderer. | |
element | The element. | |
return | Vector2 |
public Render ( |
||
renderer | The renderer. | |
element | The element. | |
x | int | The X coordinate (in pixels) of the upper left corner of the region the element should be rendered to. |
y | int | The Y coordinate (in pixels) of the upper left corner of the region the element should be rendered to. |
width | int | The width (in pixels) of the region the element should be rendered to. |
height | int | The height (in pixels) of the region the element should be rendered to. |
return | void |