imageview

package
v0.0.35 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2026 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContentMode

type ContentMode int
const (
	ScaleAspectFit ContentMode = iota
	ScaleAspectFill
	ScaleToFill
	Center
)

type UIImageView

type UIImageView struct {
	// contains filtered or unexported fields
}

func NewUIImageView

func NewUIImageView(r *foundation.Rect) *UIImageView

func (*UIImageView) On

func (iv *UIImageView) On(event fltk_bridge.Event, handler func(fltk_bridge.Event) bool)

On 绑定事件

func (*UIImageView) Raw

func (iv *UIImageView) Raw() *fltk_bridge.Box

func (*UIImageView) SetContentMode

func (iv *UIImageView) SetContentMode(mode ContentMode)

func (*UIImageView) SetImage

func (iv *UIImageView) SetImage(img fltk_bridge.Image)

func (*UIImageView) View

func (iv *UIImageView) View() *view.UIView

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL