Builder

Description

Name

abstract class Tinman.Pyramid.Builder

Derived from

Pyramid

Extended by

Pyramid.Constant / Pyramid.MapShapes / Pyramid.Memory

Common properties for building new pixel pyramids.

Fields / Required

size

Type

number

Constraint

# > 0

The size of the bottom-most pyramid level, in pixels. Will be round up to the next power of two.

Fields / Optional

cube

Type

bool

Default

true

Create an unprojected cubemap pyramid (true) or a projected rectangular pyramid ( false).


tile

Type

number

Constraint

# > 0

Default

256

The tile size, in pixels. Will be round up to the next power of two.


pad

Type

number

Constraint

# >= 0

Default

0

The tile pad of the pyramid, in pixels.


georef

Type

Tinman.Georef

Default

null

The georeference of the pyramid.

Fields / External

info

Holds detail information about this pixel pyramid.