mayo

package module
v0.0.0-...-beb2b4a Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2021 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetElementStylesheet

func GetElementStylesheet(elementName string, attributes []*hotdog.Attribute) *hotdog.Stylesheet

func HexStringToColor

func HexStringToColor(colorString string) *hotdog.ColorRGBA

HexStringToColor - Transforms hex color string to *hotdog.ColorRGBA

func MapCSSColor

func MapCSSColor(colorString string) *hotdog.ColorRGBA

MapCSSColor - Transforms css color strings to #hotdog.ColorRGBA

func RGBAToColor

func RGBAToColor(colorString string) *hotdog.ColorRGBA

RGBAToColor - Transforms RGBA color string to *hotdog.ColorRGBA TODO - Fix this spaghetti and parse alpha values

func ReflowNode

func ReflowNode(node *hotdog.NodeDOM, prev *hotdog.NodeDOM, siblingsOffset float64) float64

Types

This section is empty.

Jump to

Keyboard shortcuts

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