Structin imageoptocompute-sdk-go v1.11.0View source
type Canvas struct {
Size Area
}

Canvas is the size of an image canvas.

Fields

Size

Area

Size is the desired width and height.

Position

*Position

Position is how to distribute the remaining space around the image.

Methods

func (c *Canvas) String() string

Returns

string