Documentation ¶
Overview ¶
Package button implements a view that can display an image.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResizeMode ¶
type ResizeMode int
const ( // The image is resized proportionally such that a single axis is filled. ResizeModeFit ResizeMode = iota // The image is resized proportionally such that the entire view is filled. ResizeModeFill // The image is stretched to fill the view. ResizeModeStretch // The image is centered in the view with its natural size. ResizeModeCenter )
func (ResizeMode) MarshalProtobuf ¶
func (m ResizeMode) MarshalProtobuf() imageview.ResizeMode
Click to show internal directories.
Click to hide internal directories.