API reference
Preparing search index…

Shared implementation of sf::Rect's two public specializations.

Type Parameters

  • T extends "i32" | "f32"
Type hierarchy

Hierarchy (View Summary)

Source & inheritance
Member directory8

Properties

Accessors

Methods

Accessors

  • get scalarType(): T

    Rectangle component type: i32 integers or f32 floating-point values.

    Returns

    Source & inheritance

Methods

  • Returns a copy of the center; integer rectangles halve their size using integer division truncated toward zero.

    Returns

    Source & inheritance

Symbol members

"[mutableValue]": true
Source & inheritance
  • get "[rectStorage]"(): Int32Array | Float32Array

    Returns

    Int32Array | Float32Array
    Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0