CSize
Represents a two-dimensional size defined by width and height.
import { CSize } from "canvas-toolkit-lib";Declared members
constructor(width?: number, height?: number);Creates a size with the specified dimensions. @param width Initial width. @param height Initial height.
width(): number;Returns the width. @returns The current width.
height(): number;Returns the height. @returns The current height.
resize(width: number, height: number): void;Changes the size to the specified dimensions. @param width New width. @param height New height.