unit

package
v0.0.0-...-6902453 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 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 Dp

type Dp = unit.Dp

type Metric

type Metric = unit.Metric

type Point

type Point struct {
	X Dp
	Y Dp
}

func Pt

func Pt(x, y Dp) Point

func PtFromPx

func PtFromPx(metric Metric, x, y int) Point

type Sp

type Sp = unit.Sp

Jump to

Keyboard shortcuts

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