Documentation ¶
Index ¶
- func GetElementStylesheet(elementName string, attributes []*hotdog.Attribute) *hotdog.Stylesheet
- func HexStringToColor(colorString string) *hotdog.ColorRGBA
- func MapCSSColor(colorString string) *hotdog.ColorRGBA
- func RGBAToColor(colorString string) *hotdog.ColorRGBA
- func ReflowNode(node *hotdog.NodeDOM, prev *hotdog.NodeDOM, siblingsOffset float64) float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetElementStylesheet ¶
func GetElementStylesheet(elementName string, attributes []*hotdog.Attribute) *hotdog.Stylesheet
func HexStringToColor ¶
HexStringToColor - Transforms hex color string to *hotdog.ColorRGBA
func MapCSSColor ¶
MapCSSColor - Transforms css color strings to #hotdog.ColorRGBA
func RGBAToColor ¶
RGBAToColor - Transforms RGBA color string to *hotdog.ColorRGBA TODO - Fix this spaghetti and parse alpha values
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.