ReadonlyexistsWhether any pixels are currently selected.
ReadonlycanWhether the previous selection can be restored.
ReadonlyframeThe selected pixel bounds, or null when there is no selection.
Tests whether a selected pixel contains a point.
An integer pixel coordinate.
Whether the point is on-canvas and selected.
Selects every pixel.
Selects pixels that are visible in the composited canvas.
Clears the current selection while retaining it for reselect().
Inverts selected and unselected pixels.
Restores the most recently deselected selection.
Pixel coordinate to add to the selection.
Pixel coordinate to remove from the selection.
Pixel rectangle to add to the selection.
Pixel rectangle to remove from the selection.
Translates the selection mask.
Horizontal pixel delta.
Vertical pixel delta.
Horizontal or vertical flip direction.
Clockwise rotation in multiples of 90 degrees.
Deletes selected pixels from the active layer.
Crops the canvas to the selection bounds.
A new layer containing the selected pixels, or null without a selection.
Pixel selection state and selection editing commands.