Einhugur macOS Bridge plugin.

CGImage.GetImageInRect Method

Creates a CGImage bitmap image using the data contained within a subregion of an existing CGImage bitmap image.

GetImageInRect(
   x as Double,
   y as Double,
   width as Double,
   height as Double) as EinhugurMacOSBridge.CGImage

Parameters

x
x location of bounding box of the sub image to extract.
y
y location of bounding box of the sub image to extract.
width
Width of bounding box of the sub image to extract.
height
Width of bounding box of the sub image to extract.

Returns

EinhugurMacOSBridge.CGImage

Remarks

See Also

CGImage Class