Skip to main content
Module

x/sdl_ts/mod.ts>SDL.Point

SDL TypeScript bindings.
Go to Latest
class SDL.Point
implements AllocatableStruct
Re-export
import { SDL } from "https://deno.land/x/sdl_ts@0.0.4/mod.ts";
const { Point } = SDL;

Constructors

new
Point(command: StructCommand)
new
Point(props: Partial<Point>)
new
Point(x: i32, y: i32)
new
Point(_1?: StructCommand | Partial<Point> | i32, _2?: i32)

Properties

private
readonly
_view: PlatformDataView<Point>
readonly
_data: Uint8Array | PointerValue<Point>
x: i32
y: i32

Static Properties

SIZE_IN_BYTES: number

Static Methods

of(data: Uint8Array | PointerValue<Point>): Point | null