image

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HtmlImage

type HtmlImage struct {
	Platform iotmaker_platform_IDraw.IHtml
	Img      interface{}
	Width    int
	Height   int
}

func (*HtmlImage) Crete

func (el *HtmlImage) Crete()

type Image

type Image struct {
	basic.Sprite
	Img interface{}
	// contains filtered or unexported fields
}

func (*Image) Clear

func (el *Image) Clear()

func (*Image) Crete

func (el *Image) Crete()

func (*Image) Draw

func (el *Image) Draw()

type MultipleSprites

type MultipleSprites struct {
	basic.Sprite

	Platform                iotmaker_platform_IDraw.IDraw
	Img                     interface{}
	SpriteWidth             int
	SpriteHeight            int
	SpriteFirstElementIndex int
	SpriteLastElementIndex  int
	SpriteChangeInterval    time.Duration
	X                       int
	Y                       int
	Width                   int
	Height                  int

	ClearRectDeltaX      int
	ClearRectDeltaY      int
	ClearRectDeltaWidth  int
	ClearRectDeltaHeight int

	LifeCycleLimit          int
	LifeCycleRepeatLimit    int
	LifeCycleRepeatInterval time.Duration
}

func (*MultipleSprites) Clear added in v0.0.2

func (el *MultipleSprites) Clear()

func (*MultipleSprites) Crete

func (el *MultipleSprites) Crete()

func (*MultipleSprites) Draw added in v0.0.2

func (el *MultipleSprites) Draw()

Jump to

Keyboard shortcuts

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