TileShapeGetBottomSolidPixel Method |
Gets the vertical coordinate of the bottom-most solid pixel of a tile shape between two horizontal offsets.
Namespace: (Default Namespace)Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax public abstract short GetBottomSolidPixel(
short width,
short height,
short min,
short max
)
Parameters
- width
- Type: SystemInt16
Width of the tile to which the shape is being applied - height
- Type: SystemInt16
Height of the tile to which the shape is being applied - min
- Type: SystemInt16
Horizontal offset of the left side of the range to test - max
- Type: SystemInt16
Horizontal offset of the right side of the range to test
Return Value
Type:
Int16A value between 0 and height-1, inclusive, or short.MinValue if there is no solid
See Also