S or /

SourceClass Matrix4

from skia import Matrix4
class Matrix4:

4x4 matrix used by skia.Canvas and other parts of Skia.

Skia assumes a right-handed coordinate system: +X goes to the right +Y goes down +Z goes into the screen (away from the viewer)

Methods§

def get(self, /, row: int, col: int) -> float§
def matrix3(self, /) -> Matrix§
Sourcedef rotate(self, /, x: float, y: float, z: float, rads: float) -> None§
Sourcedef scale(self, /, x: float, y: float, z: float) -> None§
def set(self, /, row: int, col: int, value: float) -> None§
Sourcedef translate(self, /, x: float, y: float, z: float) -> None§