@nativewrappers/client
Version:
Javascript/Typescript wrapper for the FiveM natives
11 lines (10 loc) • 363 B
TypeScript
import { Color, Point, Size } from '../utils';
import { IDrawable } from './';
export declare class Rectangle implements IDrawable {
pos: Point;
size: Size;
color: Color;
constructor(pos: Point, size: Size, color: Color);
draw(offset?: Size, resolution?: Size): void;
draw(pos: Point, size: Size, color: Color, resolution?: Size): void;
}