factoryPoint

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: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPoint

func NewPoint(x, y float64, density interface{}, iDensity iotmaker_platform_coordinate.IDensity) point.Point

en: Creates a set of coordinates, taking into account the size of the screen.

pt_br: Cria um par de coordenadas levando em consideração a densidade da tela.

x:        horizontal point of the screen.
y:        vertical point of the screen.
density:  density factor of the screen.
iDensity: density interface

func NewPointWithRadius

func NewPointWithRadius(x, y, radius float64, density interface{}, iDensity iotmaker_platform_coordinate.IDensity) point.PointWithRadius

en: Creates a set of coordinates, taking into account the size of the screen.

pt_br: Cria um par de coordenadas levando em consideração a densidade da tela.

x:        horizontal point of the screen.
y:        vertical point of the screen.
radius:   radius is a width radius, not a degrees angle
density:  density factor of the screen.
iDensity: density interface

Types

This section is empty.

Jump to

Keyboard shortcuts

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