electron

package
v0.0.0-...-4ee4993 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Display

type Display struct {
	Id                   int
	Rotation             int
	ScaleFactor          float64
	TouchSupport         string
	Monochrome           bool
	AccelerometerSupport string
	ColorSpace           string
	ColorDepth           int
	DepthPerComponent    int
	DisplayFrequency     int
	Bounds               *Rectangle
	Size                 *Size
	WorkArea             *Rectangle
	WorkAreaSize         *Size
	Internal             bool
}

func JSValueToDisplay

func JSValueToDisplay(value js.Value) *Display

type Point

type Point struct {
	X int
	Y int
}

func JSValueToPoint

func JSValueToPoint(value js.Value) *Point

func (*Point) JSValue

func (p *Point) JSValue() js.Value

type Rectangle

type Rectangle struct {
	X      int
	Y      int
	Width  int
	Height int
}

func JSValueToRectangle

func JSValueToRectangle(value js.Value) *Rectangle

func (*Rectangle) JSValue

func (rectangle *Rectangle) JSValue() js.Value

type Size

type Size struct {
	Width  int
	Height int
}

func JSValueToSize

func JSValueToSize(value js.Value) *Size

func (*Size) JSValue

func (s *Size) JSValue() js.Value

Directories

Path Synopsis
ipc

Jump to

Keyboard shortcuts

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