Class RendererTools
Renderer tools for renderables
Inheritance
Namespace
Syntax
public static class RendererTools
Methods
RenderRenderable(CyclicWriter, bool, bool)
Renders the renderable
Returns
A container representation that you can render with WriteRaw(string, params object[])
Declaration
public static string RenderRenderable(CyclicWriter renderable, bool ignoreSetPositions = true, bool ignoreSetSize = true)
Parameters
| Name | Type | Description |
|---|---|---|
| renderable | CyclicWriter | Renderable instance to render |
| ignoreSetPositions | bool | Whether to ignore set positions or not |
| ignoreSetSize | bool | Whether to ignore set size or not |
RenderRenderable(CyclicWriter, Coordinate, bool)
Renders the renderable
Returns
A container representation that you can render with WriteRaw(string, params object[])
Declaration
public static string RenderRenderable(CyclicWriter renderable, Coordinate pos, bool ignoreSetSize = true)
Parameters
| Name | Type | Description |
|---|---|---|
| renderable | CyclicWriter | Renderable instance to render |
| pos | Coordinate | Position to write to |
| ignoreSetSize | bool | Whether to ignore set size or not |
RenderRenderable(CyclicWriter, Coordinate, Size)
Renders the renderable
Returns
A container representation that you can render with WriteRaw(string, params object[])
Declaration
public static string RenderRenderable(CyclicWriter renderable, Coordinate pos, Size size)
Parameters
| Name | Type | Description |
|---|---|---|
| renderable | CyclicWriter | Renderable instance to render |
| pos | Coordinate | Position to write to |
| size | Size | Size of the renderable for width and height |
RenderRenderable(GraphicalCyclicWriter, bool, bool)
Renders the renderable
Returns
A container representation that you can render with WriteRaw(string, params object[])
Declaration
public static string RenderRenderable(GraphicalCyclicWriter renderable, bool ignoreSetPositions = true, bool ignoreSetSize = true)
Parameters
| Name | Type | Description |
|---|---|---|
| renderable | GraphicalCyclicWriter | Renderable instance to render |
| ignoreSetPositions | bool | Whether to ignore set positions or not |
| ignoreSetSize | bool | Whether to ignore set size or not |
RenderRenderable(GraphicalCyclicWriter, Coordinate, bool)
Renders the renderable
Returns
A container representation that you can render with WriteRaw(string, params object[])
Declaration
public static string RenderRenderable(GraphicalCyclicWriter renderable, Coordinate pos, bool ignoreSetSize = true)
Parameters
| Name | Type | Description |
|---|---|---|
| renderable | GraphicalCyclicWriter | Renderable instance to render |
| pos | Coordinate | Position to write to |
| ignoreSetSize | bool | Whether to ignore set size or not |
RenderRenderable(GraphicalCyclicWriter, Coordinate, Size)
Renders the renderable
Returns
A container representation that you can render with WriteRaw(string, params object[])
Declaration
public static string RenderRenderable(GraphicalCyclicWriter renderable, Coordinate pos, Size size)
Parameters
| Name | Type | Description |
|---|---|---|
| renderable | GraphicalCyclicWriter | Renderable instance to render |
| pos | Coordinate | Position to write to |
| size | Size | Size of the renderable for width and height |
RenderRenderable(SimpleCyclicWriter)
Renders the renderable
Returns
A container representation that you can render with WriteRaw(string, params object[])
Declaration
public static string RenderRenderable(SimpleCyclicWriter renderable)
Parameters
| Name | Type | Description |
|---|---|---|
| renderable | SimpleCyclicWriter | Renderable instance to render |
RenderRenderable(SimpleCyclicWriter, Coordinate)
Renders the renderable
Returns
A container representation that you can render with WriteRaw(string, params object[])
Declaration
public static string RenderRenderable(SimpleCyclicWriter renderable, Coordinate pos)
Parameters
| Name | Type | Description |
|---|---|---|
| renderable | SimpleCyclicWriter | Renderable instance to render |
| pos | Coordinate | Position to write to |
WriteRenderable(CyclicWriter, bool, bool)
Writes the renderable to the console
Declaration
public static void WriteRenderable(CyclicWriter renderable, bool ignoreSetPositions = true, bool ignoreSetSize = true)
Parameters
| Name | Type | Description |
|---|---|---|
| renderable | CyclicWriter | Renderable instance to write |
| ignoreSetPositions | bool | Whether to ignore set positions or not |
| ignoreSetSize | bool | Whether to ignore set size or not |
WriteRenderable(CyclicWriter, Coordinate, bool)
Writes the renderable to the console
Declaration
public static void WriteRenderable(CyclicWriter renderable, Coordinate pos, bool ignoreSetSize = true)
Parameters
| Name | Type | Description |
|---|---|---|
| renderable | CyclicWriter | Renderable instance to write |
| pos | Coordinate | Position to write to |
| ignoreSetSize | bool | Whether to ignore set size or not |
WriteRenderable(CyclicWriter, Coordinate, Size)
Writes the renderable to the console
Declaration
public static void WriteRenderable(CyclicWriter renderable, Coordinate pos, Size size)
Parameters
| Name | Type | Description |
|---|---|---|
| renderable | CyclicWriter | Renderable instance to write |
| pos | Coordinate | Position to write to |
| size | Size | Size of the renderable for width and height |
WriteRenderable(GraphicalCyclicWriter, bool, bool)
Writes the renderable to the console
Declaration
public static void WriteRenderable(GraphicalCyclicWriter renderable, bool ignoreSetPositions = true, bool ignoreSetSize = true)
Parameters
| Name | Type | Description |
|---|---|---|
| renderable | GraphicalCyclicWriter | Renderable instance to write |
| ignoreSetPositions | bool | Whether to ignore set positions or not |
| ignoreSetSize | bool | Whether to ignore set size or not |
WriteRenderable(GraphicalCyclicWriter, Coordinate, bool)
Writes the renderable to the console
Declaration
public static void WriteRenderable(GraphicalCyclicWriter renderable, Coordinate pos, bool ignoreSetSize = true)
Parameters
| Name | Type | Description |
|---|---|---|
| renderable | GraphicalCyclicWriter | Renderable instance to write |
| pos | Coordinate | Position to write to |
| ignoreSetSize | bool | Whether to ignore set size or not |
WriteRenderable(GraphicalCyclicWriter, Coordinate, Size)
Writes the renderable to the console
Declaration
public static void WriteRenderable(GraphicalCyclicWriter renderable, Coordinate pos, Size size)
Parameters
| Name | Type | Description |
|---|---|---|
| renderable | GraphicalCyclicWriter | Renderable instance to write |
| pos | Coordinate | Position to write to |
| size | Size | Size of the renderable for width and height |
WriteRenderable(SimpleCyclicWriter)
Writes the renderable to the console
Declaration
public static void WriteRenderable(SimpleCyclicWriter renderable)
Parameters
| Name | Type | Description |
|---|---|---|
| renderable | SimpleCyclicWriter | Renderable instance to write |
WriteRenderable(SimpleCyclicWriter, Coordinate)
Writes the renderable to the console
Declaration
public static void WriteRenderable(SimpleCyclicWriter renderable, Coordinate pos)
Parameters
| Name | Type | Description |
|---|---|---|
| renderable | SimpleCyclicWriter | Renderable instance to write |
| pos | Coordinate | Position to write to |