Module pygmlparser.graphics.Point

Expand source code
from dataclasses import dataclass


@dataclass
class Point:
    """
    Represents positions for GML graphics
    """
    x: int = 0
    """
    The x-coordinate
    """
    y: int = 0
    """
    The y-coordinate
    """
    z: int = 0
    """
    Valid for 3D graphics
    """

Classes

class Point (x: int = 0, y: int = 0, z: int = 0)

Represents positions for GML graphics

Expand source code
class Point:
    """
    Represents positions for GML graphics
    """
    x: int = 0
    """
    The x-coordinate
    """
    y: int = 0
    """
    The y-coordinate
    """
    z: int = 0
    """
    Valid for 3D graphics
    """

Class variables

var x : int

The x-coordinate

var y : int

The y-coordinate

var z : int

Valid for 3D graphics