CanvasFactoryPixelPyramid

Description

sealed class Tinman.Terrain.Tools.CanvasFactoryPixelPyramid

Derived from

CanvasFactory abstract

A ICanvasFactory for visualizing IPixelPyramid objects.

Public / Constructors

Canvas​Factory​Pixel​Pyramid


public constructor CanvasFactoryPixelPyramid → (1)

pixelPyramid in : IPixelPyramid own

[not-null]
The pixel pyramid to use.

Creates a new instance of CanvasFactoryPixelPyramid.

Public / Attributes

Block​Size


public attribute BlockSize → (get,set)

value : int32

[>0]
The block size, in canvas raster samples.

Size of a canvas block.

For PixelCoverage.PixelIsPoint semantics, the block size is a power of two plus one. For PixelCoverage.PixelIsArea semantics, the block size is a power of two.

Color​Empty


public attribute ColorEmpty → (get,set)

value : int64

The background color to use.

Background color to use for pyramid tiles resulting from TileDataResult.Empty.

Set to 0 to produce empty tile data.

Defaults to Colors.Blue.

Color​Error


public attribute ColorError → (get,set)

value : int64

The background color to use.

Background color to use for pyramid tiles resulting from TileDataResult.Error.

Set to 0 to produce empty tile data.

Defaults to Colors.Red.

Color​Void


public attribute ColorVoid → (get,set)

value : int64

The background color to use.

Background color to use for pyramid tiles resulting from TileDataResult.Void.

Set to 0 to produce empty tile data.

Defaults to Colors.Magenta.

Pixel​Pyramid


public attribute PixelPyramid → (get)

value : IPixelPyramid

[not-null]
The pixel pyramid instance.

The pixel pyramid to use.