TileShapeGetLeftSolidPixel Method |
Gets the horizontal coordinate of the left-most solid pixel of a tile shape between two vertical offsets
Namespace: (Default Namespace)Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax public abstract short GetLeftSolidPixel(
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
Vertical offset of the top of the range to test - max
- Type: SystemInt16
Vertical offset of the bottom of the range to test
Return Value
Type:
Int16A value between 0 and width-1, inclusive, or short.MaxValue if there is no solid
See Also