1
0
mirror of https://github.com/AR2000AR/openComputers_codes.git synced 2025-09-06 21:51:14 +02:00
Files
openComputers_codes/libGUIDoc/widget/Rectangle.md
2023-01-24 15:18:19 +01:00

847 B

Rectangle(Widget)

Basic rectangle shape.

Constructor

  • x : int
  • y : int
  • width : int
  • height : int
  • color : int

Inherited public methods

Public methods

setWidth

Arguments

  • width : int

setHeight

Arguments

  • height : int

setSize

Arguments

  • width : int
  • height : int

setColor

Arguments

  • color : int. RGB color

getWidth

Return

  • width : int

getHeight

Return

  • height: int

getSize

Return

  • width : int
  • height : int

getColor

Return

  • color : int. RGB color