BrushPaint.TilingTexture.Origin



Specification of the origin point to use for the texture.

Summary

Public companion properties

BrushPaint.TilingTexture.Origin

The texture origin is the first input position for the stroke.

Cmn
BrushPaint.TilingTexture.Origin

The texture origin is the last input position (including predicted inputs) for the stroke.

Cmn
BrushPaint.TilingTexture.Origin

The texture origin is the origin of stroke space, however that happens to be defined for a given stroke.

Cmn

Public functions

Version

Returns the minimum required Version for this Origin.

Cmn
open String
Cmn

Public companion properties

FIRST_STROKE_INPUT

val FIRST_STROKE_INPUTBrushPaint.TilingTexture.Origin

The texture origin is the first input position for the stroke.

LAST_STROKE_INPUT

val LAST_STROKE_INPUTBrushPaint.TilingTexture.Origin

The texture origin is the last input position (including predicted inputs) for the stroke. Note that this means that the texture origin for an in-progress stroke will move as more inputs are added.

STROKE_SPACE_ORIGIN

val STROKE_SPACE_ORIGINBrushPaint.TilingTexture.Origin

The texture origin is the origin of stroke space, however that happens to be defined for a given stroke.

Public functions

calculateMinimumRequiredVersion

fun calculateMinimumRequiredVersion(): Version

Returns the minimum required Version for this Origin.

By default, decoding a BrushFamily containing an Origin with a minimum required version higher than Version.MAX_SUPPORTED will fail.

toString

open fun toString(): String