BrushPaint.TextureLayer.Wrap


public final class BrushPaint.TextureLayer.Wrap


Wrap modes for specifying TextureLayer wrapping behavior.

Summary

Public fields

static final @NonNull BrushPaint.TextureLayer.Wrap

Points outside of the texture have the color of the nearest texture edge point.

static final @NonNull BrushPaint.TextureLayer.Wrap

Repeats texture image horizontally/vertically, alternating mirror images so that adjacent edges always match.

static final @NonNull BrushPaint.TextureLayer.Wrap

Repeats texture image horizontally/vertically.

Public methods

@NonNull String

Public fields

CLAMP

public static final @NonNull BrushPaint.TextureLayer.Wrap CLAMP

Points outside of the texture have the color of the nearest texture edge point. This mode is typically most useful when the edge pixels of the texture image are all the same, e.g. either transparent or a single solid color.

MIRROR

public static final @NonNull BrushPaint.TextureLayer.Wrap MIRROR

Repeats texture image horizontally/vertically, alternating mirror images so that adjacent edges always match.

REPEAT

public static final @NonNull BrushPaint.TextureLayer.Wrap REPEAT

Repeats texture image horizontally/vertically.

Public methods

toString

public @NonNull String toString()