Contour

Description

Name

class Tinman.Pixel.Contour

Derived from

Pixel

Renders contour lines onto the target pixel buffer.

Fields / Required

source

Type

Pixel

Constraint

# != null

The source pixel layer.


value

The contour values.


range

The contour settings.

Fields / Optional

strength

Type

number

Constraint

# >= 0 && # < 1

Default

0

The strength of contour lines: 0 is light and 31 is heavy.


colorLine

Type

Tinman.Color

Default

{Color.Name: Zero}

Color of contour lines. Set to 0 to disable contour lines.


colorFill

Type

Tinman.Color

Default

{Color.Name: Zero}

Color of contour fill. Set to 0 to disable contour fill.


material

Type

number

Constraint

# >= 0 && # <= 255

Default

0

The material ID to use if value is Contour.Value.Material.