TLuminance Source .crop Method
Returns a new object with cropped image data. Implementations may keep a reference to the original data rather than a copy. Only callable if CropSupported is true.
function crop(const left: Integer; const top: Integer; const width: Integer; const height: Integer): TLuminanceSource
Parameters
- left
- Type: System.Integer
The left coordinate, which must be in [0, Width)
- top
- Type: System.Integer
The top coordinate, which must be in [0, Height)
- width
- Type: System.Integer
The width of the rectangle to crop.
- height
- Type: System.Integer
The height of the rectangle to crop.