selectBox

package
v0.0.7 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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResizeBoxes

type ResizeBoxes struct {
	Platform   iotmaker_platform_IDraw.IDraw
	ScratchPad iotmaker_platform_IDraw.IDraw

	Dimensions             dimensions.Dimensions
	FatherOutBoxDimensions dimensions.Dimensions

	CornerFillColor  interface{}
	CornerLineWidth  float64
	ContourLineWidth float64
	ContourColor     color.RGBA

	//MouseFunc     mouse.SetCursorFunc
	MouseGeneric webBrowserMouse.CursorType
	MouseCornerA webBrowserMouse.CursorType
	MouseCornerB webBrowserMouse.CursorType
	MouseCornerC webBrowserMouse.CursorType
	MouseCornerD webBrowserMouse.CursorType
	MouseCornerE webBrowserMouse.CursorType
	MouseCornerF webBrowserMouse.CursorType
	MouseCornerG webBrowserMouse.CursorType
	MouseCornerH webBrowserMouse.CursorType
	// contains filtered or unexported fields
}

func NewResizeBoxFromBasicBox

func NewResizeBoxFromBasicBox(basicBox *draw.BasicBox, offsetX, offsetY, width, height, border float64, density interface{}, iDensity iotmaker_platform_coordinate.IDensity) *ResizeBoxes

func (*ResizeBoxes) Create

func (el *ResizeBoxes) Create()

func (*ResizeBoxes) GetCollisionBox

func (el *ResizeBoxes) GetCollisionBox(xEvent, yEvent float64) bool

func (*ResizeBoxes) ProcessMousePosition

func (el *ResizeBoxes) ProcessMousePosition(x, y float64, collision bool)

Jump to

Keyboard shortcuts

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