Returns the roBitmap object of the bitmap this region refers to. A region is always a section of a bitmap.
Returns the x coordinate of the region in its bitmap.
Returns the y coordinate of the region in its bitmap.
Returns the width of the region.
Returns the height of the region.
Adds the passed parameters x,y, w, and h to the values of those roRegion fields
Respects the wrap setting when adjusting the fields by the offsets.
Takes an roRegion object as input
Initializes the fields of this region to be the same as the values of the fields in the srcRegion.
Returns a newly created copy of the region as a new roRegion object.
If wrap is true, any part of a region that extends beyond the bounds of its bitmap "wraps" to the other side of the bitmap and is rendered there. If wrap is false, the part of the region beyond the bounds of its bitmap is not rendered.
Returns true if the region will wrap.
Set the "frame hold time" in milliseconds. This is the duration of each frame of any animated sprite which uses this region.
Returns the "frame hold time" in milliseconds.
Set the pretranslation for DrawObject, DrawRotatedObject, and DrawScaledObject.
Returns the pretranslation x value.
Returns the pretranslation y value.
Set the scaling mode used for DrawScaledObject
Returns the scaling mode.
Sets the type of region to be used for collision tests with this sprite.
Returns the collision type.
Sets the collision rectangle used for type 1 collision tests. The upper left corner of the rectangle is the (x,y) position of the sprite plus the specified offsets. width and height specify the size of the rectangle.
Sets the collision circle used for type 2 collision tests. The center of the circle is the (x,y) position of the sprite plus the specified offsets. radius specifies the size of the circle.