Image.Clip

Description

Name

class Tinman.Image.Clip

Derived from

Image

Shrinks the given image by cutting away rows and column at the image edges, which produces a sub-rectangle clip.

Fields / Required

image

Type

Image

Constraint

# != null

The image to clip.


x

Type

number

Constraint

# >= 0

X-coordinate of top-left corner of sub-rectangle clip.


y

Type

number

Constraint

# >= 0

X-coordinate of top-left corner of sub-rectangle clip.


width

Type

number

Constraint

# >= 0

Height of the sub-rectangle clip, in pixels.


height

Type

number

Constraint

# >= 0

Height of the sub-rectangle clip, in pixels.

Fields / External

info

Type

Image.Info

Contains information about the image data source, including image format and embedded georeferencing information.