neoscore.core.rect
- class neoscore.core.rect.Rect[source]
Bases:
object
A rectangle data class.
The
x
andy
coordinates represent the starting position, typically the top left corner.width
andheight
extend rightward and downward.The only math operation supported for rects is scalar multiplication, where each field is multiplied by a given number.