BrushPaint.TextureLayer.Wrap



Wrap modes for specifying TextureLayer wrapping behavior.

Summary

Public companion properties

BrushPaint.TextureLayer.Wrap

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

Cmn
BrushPaint.TextureLayer.Wrap

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

Cmn
BrushPaint.TextureLayer.Wrap

Repeats texture image horizontally/vertically.

Cmn

Public functions

Version

Returns the minimum required Version for this Wrap.

Cmn
open String
Cmn

Public companion properties

CLAMP

val CLAMPBrushPaint.TextureLayer.Wrap

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

val MIRRORBrushPaint.TextureLayer.Wrap

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

REPEAT

val REPEATBrushPaint.TextureLayer.Wrap

Repeats texture image horizontally/vertically.

Public functions

calculateMinimumRequiredVersion

fun calculateMinimumRequiredVersion(): Version

Returns the minimum required Version for this Wrap.

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

toString

open fun toString(): String