Documentation ¶
Index ¶
- type Align
- type Rectangle
- func (r Rectangle) Center(sz image.Point) image.Point
- func (r Rectangle) CutBottom(height int) (top Rectangle, bottom Rectangle)
- func (r Rectangle) CutEnd(width int) (start Rectangle, end Rectangle)
- func (r Rectangle) CutStart(width int) (start Rectangle, end Rectangle)
- func (r Rectangle) CutTop(height int) (top Rectangle, bottom Rectangle)
- func (r Rectangle) Dx() int
- func (r Rectangle) Dy() int
- func (r Rectangle) E(sz image.Point) image.Point
- func (r Rectangle) N(sz image.Point) image.Point
- func (r Rectangle) NE(sz image.Point) image.Point
- func (r Rectangle) NW(sz image.Point) image.Point
- func (r Rectangle) S(sz image.Point) image.Point
- func (r Rectangle) SE(sz image.Point) image.Point
- func (r Rectangle) SW(sz image.Point) image.Point
- func (r Rectangle) Shrink(top, end, bottom, start int) Rectangle
- func (r Rectangle) Size() image.Point
- func (r Rectangle) W(sz image.Point) image.Point
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.