Documentation
¶
Index ¶
- func Abs(calcSum Value) *function
- func Acos(number Value) *function
- func Add(x1 Value, x2 Value) *operator
- func Anchor(params ...Value) *function
- func AnchorSize(params ...Value) *function
- func Asin(number Value) *function
- func Atan(number Value) *function
- func Atan2(y Value, x Value) *function
- func Attr(name Value, params ...Value) *function
- func Blur(length Value) *function
- func Brightness(length Value) *function
- func Calc(param Value) *function
- func Circle(param Value) *function
- func Clamp(min Value, val Value, max Value) *function
- func Color(params ...Value) *function
- func ColorBlend() *blendMode
- func ColorBurnBlend() *blendMode
- func ColorDodgeBlend() *blendMode
- func ColorMix(params ...Value) *function
- func ConicGradient(params ...Value) *function
- func Contrast(number Value) *function
- func Cos(angle Value) *function
- func CubicBezier(x1 Value, y1 Value, x2 Value, y2 Value) *function
- func DarkenBlend() *blendMode
- func DifferenceBlend() *blendMode
- func ExclusionBlend() *blendMode
- func HardLightBlend() *blendMode
- func HueBlend() *blendMode
- func Large() *absoluteSize
- func LightenBlend() *blendMode
- func LuminosityBlend() *blendMode
- func Medium() *absoluteSize
- func Mul(x1 Value, x2 Value) *operator
- func MultiplyBlend() *blendMode
- func Neg(x1 Value) *operator
- func NormalBlend() *blendMode
- func Number[T valConstraint](val T) *number[T]
- func OverlayBlend() *blendMode
- func SaturationBlend() *blendMode
- func ScreenBlend() *blendMode
- func Small() *absoluteSize
- func SoftLightBlend() *blendMode
- func Subtract(x1 Value, x2 Value) *operator
- func Url(uri string) *url
- func XLarge() *absoluteSize
- func XSmall() *absoluteSize
- func XXLarge() *absoluteSize
- func XXSmall() *absoluteSize
- func XXXLarge() *absoluteSize
- type Angle
- type CustomProperty
- type Hexcolor
- type HslaColor
- type LiteralValue
- type PercentageValue
- type RatioValue
- type RgbaColor
- type Unit
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnchorSize ¶
func AnchorSize(params ...Value) *function
func Brightness ¶
func Brightness(length Value) *function
func ColorBlend ¶ added in v0.0.15
func ColorBlend() *blendMode
func ColorBurnBlend ¶ added in v0.0.15
func ColorBurnBlend() *blendMode
func ColorDodgeBlend ¶ added in v0.0.15
func ColorDodgeBlend() *blendMode
func ConicGradient ¶
func ConicGradient(params ...Value) *function
func DarkenBlend ¶ added in v0.0.15
func DarkenBlend() *blendMode
func DifferenceBlend ¶ added in v0.0.15
func DifferenceBlend() *blendMode
func ExclusionBlend ¶ added in v0.0.15
func ExclusionBlend() *blendMode
func HardLightBlend ¶ added in v0.0.15
func HardLightBlend() *blendMode
func LightenBlend ¶ added in v0.0.15
func LightenBlend() *blendMode
func LuminosityBlend ¶ added in v0.0.15
func LuminosityBlend() *blendMode
func MultiplyBlend ¶ added in v0.0.15
func MultiplyBlend() *blendMode
func NormalBlend ¶ added in v0.0.15
func NormalBlend() *blendMode
func OverlayBlend ¶ added in v0.0.15
func OverlayBlend() *blendMode
func SaturationBlend ¶ added in v0.0.15
func SaturationBlend() *blendMode
func ScreenBlend ¶ added in v0.0.15
func ScreenBlend() *blendMode
func SoftLightBlend ¶ added in v0.0.15
func SoftLightBlend() *blendMode
Types ¶
type CustomProperty ¶ added in v0.0.15
type CustomProperty struct {
// contains filtered or unexported fields
}
func Property ¶ added in v0.0.15
func Property(name string) *CustomProperty
func (*CustomProperty) Value ¶ added in v0.0.15
func (p *CustomProperty) Value() string
type HslaColor ¶ added in v0.0.15
type HslaColor struct {
// contains filtered or unexported fields
}
type LiteralValue ¶ added in v0.0.15
type LiteralValue struct {
// contains filtered or unexported fields
}
func Literal ¶
func Literal(v string) *LiteralValue
func (*LiteralValue) Value ¶ added in v0.0.15
func (l *LiteralValue) Value() string
type PercentageValue ¶ added in v0.0.15
type PercentageValue struct {
// contains filtered or unexported fields
}
func Percent ¶
func Percent(value float64) *PercentageValue
func (*PercentageValue) Value ¶ added in v0.0.15
func (p *PercentageValue) Value() string
type RatioValue ¶ added in v0.0.15
type RatioValue struct {
// contains filtered or unexported fields
}
func Fraction ¶
func Fraction(x1 Value, x2 Value) *RatioValue
func Ratio ¶ added in v0.0.15
func Ratio(x1 Value, x2 Value) *RatioValue
func (*RatioValue) Value ¶ added in v0.0.15
func (v *RatioValue) Value() string
type RgbaColor ¶ added in v0.0.15
type RgbaColor struct {
// contains filtered or unexported fields
}
type Unit ¶ added in v0.0.15
type Unit[T valConstraint] struct {
// contains filtered or unexported fields
}
func NegativeInfinity ¶ added in v0.0.15
func (*Unit[T]) LiteralValue ¶ added in v0.0.15
func (u *Unit[T]) LiteralValue() T
Click to show internal directories.
Click to hide internal directories.