The crop properties of an image.
More...
|
virtual System.Nullable< float > | Angle [get, set] |
| The clockwise rotation angle of the crop rectangle around its center, in radians. Rotation is applied after the offsets. More...
|
|
virtual System.Nullable< float > | OffsetBottom [get, set] |
| The offset specifies how far inwards the bottom edge of the crop rectangle is from the bottom edge of the original content as a fraction of the original content's height. More...
|
|
virtual System.Nullable< float > | OffsetLeft [get, set] |
| The offset specifies how far inwards the left edge of the crop rectangle is from the left edge of the original content as a fraction of the original content's width. More...
|
|
virtual System.Nullable< float > | OffsetRight [get, set] |
| The offset specifies how far inwards the right edge of the crop rectangle is from the right edge of the original content as a fraction of the original content's width. More...
|
|
virtual System.Nullable< float > | OffsetTop [get, set] |
| The offset specifies how far inwards the top edge of the crop rectangle is from the top edge of the original content as a fraction of the original content's height. More...
|
|
virtual string | ETag [get, set] |
| The ETag of the item. More...
|
|
string | ETag |
|
The crop properties of an image.
The crop rectangle is represented using fractional offsets from the original content's four edges.
- If the offset is in the interval (0, 1), the corresponding edge of crop rectangle is positioned inside of the image's original bounding rectangle. - If the offset is negative or greater than 1, the corresponding edge of crop rectangle is positioned outside of the image's original bounding rectangle. - If all offsets and rotation angle are 0, the image is not cropped.
◆ Angle
virtual System.Nullable<float> Google.Apis.Docs.v1.Data.CropProperties.Angle |
|
getset |
The clockwise rotation angle of the crop rectangle around its center, in radians. Rotation is applied after the offsets.
◆ ETag
virtual string Google.Apis.Docs.v1.Data.CropProperties.ETag |
|
getset |
◆ OffsetBottom
virtual System.Nullable<float> Google.Apis.Docs.v1.Data.CropProperties.OffsetBottom |
|
getset |
The offset specifies how far inwards the bottom edge of the crop rectangle is from the bottom edge of the original content as a fraction of the original content's height.
◆ OffsetLeft
virtual System.Nullable<float> Google.Apis.Docs.v1.Data.CropProperties.OffsetLeft |
|
getset |
The offset specifies how far inwards the left edge of the crop rectangle is from the left edge of the original content as a fraction of the original content's width.
◆ OffsetRight
virtual System.Nullable<float> Google.Apis.Docs.v1.Data.CropProperties.OffsetRight |
|
getset |
The offset specifies how far inwards the right edge of the crop rectangle is from the right edge of the original content as a fraction of the original content's width.
◆ OffsetTop
virtual System.Nullable<float> Google.Apis.Docs.v1.Data.CropProperties.OffsetTop |
|
getset |
The offset specifies how far inwards the top edge of the crop rectangle is from the top edge of the original content as a fraction of the original content's height.
The documentation for this class was generated from the following file: