BrushPaint.TilingTexture.Origin


public final class BrushPaint.TilingTexture.Origin


Specification of the origin point to use for the texture.

Summary

Public fields

static final @NonNull BrushPaint.TilingTexture.Origin

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

static final @NonNull BrushPaint.TilingTexture.Origin

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

static final @NonNull BrushPaint.TilingTexture.Origin

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

Public methods

@NonNull String

Public fields

FIRST_STROKE_INPUT

public static final @NonNull BrushPaint.TilingTexture.Origin FIRST_STROKE_INPUT

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

LAST_STROKE_INPUT

public static final @NonNull BrushPaint.TilingTexture.Origin LAST_STROKE_INPUT

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

public static final @NonNull BrushPaint.TilingTexture.Origin STROKE_SPACE_ORIGIN

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

Public methods

toString

public @NonNull String toString()