Raster Class

Generates an SVG raster image, to be used as background.

Definition

Namespace: MobileTrack.Web.Components.Components
Assembly: MobileTrack.Web.Components (in MobileTrack.Web.Components.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public sealed class Raster : ComponentBase
Inheritance
Object    ComponentBase    Raster

Constructors

RasterInitializes a new instance of the Raster class

Properties

CellSize Size of a single raster cell, both width and height;
ColorOne The first color (usually light gray) for the raster
ColorTwo The second color of the raster (usually dark gray) as offset to ColorOne
Height The height of the raster
IsLines If , the raster will be rendered as lines, otherwise as rectangles.
LineWidth If IsLines is , this variable will be used to determine the width of the lines.
Width The width of the raster

Methods

SetParametersAsync Parameters are loaded manually for sake of performance; if we were to use System.Reflection magic, it would hurt performance if components were used in large numbers.
(Overrides ComponentBaseSetParametersAsync(ParameterView))

See Also