Skip to main content
Module

x/sdl_ts/mod.SDL.ts>Point

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

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