TileMode

class TileMode

Members:

kClamp : Replicate the edge color if the shader draws outside of its original bounds.

kRepeat : Repeat the shader’s image horizontally and vertically.

kMirror : Repeat the shader’s image horizontally and vertically, alternating mirror images so that adjacent images always seam.

kDecal : Only draw within the original domain, return transparent-black everywhere else.

kLastTileMode :

Methods

__init__

__init__(self: skia.TileMode, value: int) -> None

Attributes

kClamp

kDecal

kLastTileMode

kMirror

kRepeat

name

value

Methods

TileMode.__init__(self: skia.TileMode, value: int) None

__init__(self: skia.TileMode, value: int) -> None

Attributes

TileMode.kClamp = <TileMode.kClamp: 0>
TileMode.kDecal = <TileMode.kDecal: 3>
TileMode.kLastTileMode = <TileMode.kDecal: 3>
TileMode.kMirror = <TileMode.kMirror: 2>
TileMode.kRepeat = <TileMode.kRepeat: 1>
TileMode.name
TileMode.value