pytilities.geometry.discreterectangle

class pytilities.geometry.discreterectangle.DiscreteRectangle(*args)

A rectangle with discrete coordinates.

This rectangle greatly resembles Rectangle, but works with a discrete coordinate space. All results are floored.

height

Read-write, height of the rectangle

width

Read-write, width of the rectangle

Previous topic

pytilities.geometry.functions

Next topic

pytilities.geometry.discretevector

This Page