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 EinhugurCoreBridge.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

EinhugurCoreBridge.CGImage

#### Remarks

#### See Also

CGImage Class