std

package
v0.0.0-...-6d0822f Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Column

type Column struct {
	*Item
	// contains filtered or unexported fields
}

func NewColumn

func NewColumn(id string, context *vit.FileContext) *Column

func (*Column) AddChild

func (c *Column) AddChild(child vit.Component)

func (*Column) AddChildAfter

func (c *Column) AddChildAfter(afterThis vit.Component, addThis vit.Component)

func (*Column) As

func (c *Column) As(target *vit.Component) bool

func (*Column) ContentSize

func (c *Column) ContentSize() (float64, float64)

func (*Column) Event

func (c *Column) Event(name string) (vit.Listenable, bool)

func (*Column) Finish

func (c *Column) Finish() error

func (*Column) ID

func (c *Column) ID() string

func (*Column) MustProperty

func (c *Column) MustProperty(key string) vit.Value

func (*Column) Property

func (c *Column) Property(key string) (vit.Value, bool)

func (*Column) ResolveVariable

func (c *Column) ResolveVariable(key string) (interface{}, bool)

func (*Column) SetProperty

func (c *Column) SetProperty(key string, value interface{}) error

func (*Column) SetPropertyCode

func (c *Column) SetPropertyCode(key string, code vit.Code) error

func (*Column) String

func (c *Column) String() string

func (*Column) UpdateExpressions

func (c *Column) UpdateExpressions(context vit.Component) (int, vit.ErrorGroup)

type Container

type Container struct {
	Item
	// contains filtered or unexported fields
}

func NewContainer

func NewContainer(id string, context *vit.FileContext) *Container

func (*Container) AddChild

func (r *Container) AddChild(child vit.Component)

func (*Container) Children

func (r *Container) Children() []vit.Component

func (*Container) Event

func (r *Container) Event(name string) (vit.Listenable, bool)

func (*Container) Finish

func (r *Container) Finish() error

func (*Container) ID

func (r *Container) ID() string

func (*Container) MustProperty

func (r *Container) MustProperty(key string) vit.Value

func (*Container) Property

func (r *Container) Property(key string) (vit.Value, bool)

func (*Container) ResolveVariable

func (r *Container) ResolveVariable(key string) (interface{}, bool)

func (*Container) SetProperty

func (r *Container) SetProperty(key string, value interface{}) error

func (*Container) SetPropertyCode

func (r *Container) SetPropertyCode(key string, code vit.Code) error

func (*Container) String

func (r *Container) String() string

func (*Container) UpdateExpressions

func (r *Container) UpdateExpressions(context vit.Component) (int, vit.ErrorGroup)

type Gradient

type Gradient struct {
	*Item
	// contains filtered or unexported fields
}

func NewGradient

func NewGradient(id string, context *vit.FileContext) *Gradient

func (*Gradient) AddChild

func (g *Gradient) AddChild(child vit.Component)

func (*Gradient) AddChildAfter

func (g *Gradient) AddChildAfter(afterThis vit.Component, addThis vit.Component)

func (*Gradient) As

func (g *Gradient) As(target *vit.Component) bool

func (*Gradient) ConstructGradient

func (r *Gradient) ConstructGradient(start, end canvas.Point) *canvas.LinearGradient

func (*Gradient) Event

func (g *Gradient) Event(name string) (vit.Listenable, bool)

func (*Gradient) Finish

func (g *Gradient) Finish() error

func (*Gradient) ID

func (g *Gradient) ID() string

func (*Gradient) MustProperty

func (g *Gradient) MustProperty(key string) vit.Value

func (*Gradient) Property

func (g *Gradient) Property(key string) (vit.Value, bool)

func (*Gradient) ResolveVariable

func (g *Gradient) ResolveVariable(key string) (interface{}, bool)

func (*Gradient) SetProperty

func (g *Gradient) SetProperty(key string, value interface{}) error

func (*Gradient) SetPropertyCode

func (g *Gradient) SetPropertyCode(key string, code vit.Code) error

func (*Gradient) String

func (g *Gradient) String() string

func (*Gradient) UpdateExpressions

func (g *Gradient) UpdateExpressions(context vit.Component) (int, vit.ErrorGroup)

type GradientStop

type GradientStop struct {
	*Item
	// contains filtered or unexported fields
}

func NewGradientStop

func NewGradientStop(id string, context *vit.FileContext) *GradientStop

func (*GradientStop) AddChild

func (g *GradientStop) AddChild(child vit.Component)

func (*GradientStop) AddChildAfter

func (g *GradientStop) AddChildAfter(afterThis vit.Component, addThis vit.Component)

func (*GradientStop) As

func (g *GradientStop) As(target *vit.Component) bool

func (*GradientStop) Event

func (g *GradientStop) Event(name string) (vit.Listenable, bool)

func (*GradientStop) Finish

func (g *GradientStop) Finish() error

func (*GradientStop) ID

func (g *GradientStop) ID() string

func (*GradientStop) MustProperty

func (g *GradientStop) MustProperty(key string) vit.Value

func (*GradientStop) Property

func (g *GradientStop) Property(key string) (vit.Value, bool)

func (*GradientStop) ResolveVariable

func (g *GradientStop) ResolveVariable(key string) (interface{}, bool)

func (*GradientStop) SetProperty

func (g *GradientStop) SetProperty(key string, value interface{}) error

func (*GradientStop) SetPropertyCode

func (g *GradientStop) SetPropertyCode(key string, code vit.Code) error

func (*GradientStop) String

func (g *GradientStop) String() string

func (*GradientStop) UpdateExpressions

func (g *GradientStop) UpdateExpressions(context vit.Component) (int, vit.ErrorGroup)

type Grid

type Grid struct {
	*Item
	// contains filtered or unexported fields
}

func NewGrid

func NewGrid(id string, context *vit.FileContext) *Grid

func (*Grid) AddChild

func (g *Grid) AddChild(child vit.Component)

func (*Grid) AddChildAfter

func (g *Grid) AddChildAfter(afterThis vit.Component, addThis vit.Component)

func (*Grid) As

func (g *Grid) As(target *vit.Component) bool

func (*Grid) Event

func (g *Grid) Event(name string) (vit.Listenable, bool)

func (*Grid) Finish

func (g *Grid) Finish() error

func (*Grid) ID

func (g *Grid) ID() string

func (*Grid) MustProperty

func (g *Grid) MustProperty(key string) vit.Value

func (*Grid) Property

func (g *Grid) Property(key string) (vit.Value, bool)

func (*Grid) ResolveVariable

func (g *Grid) ResolveVariable(key string) (interface{}, bool)

func (*Grid) SetProperty

func (g *Grid) SetProperty(key string, value interface{}) error

func (*Grid) SetPropertyCode

func (g *Grid) SetPropertyCode(key string, code vit.Code) error

func (*Grid) String

func (g *Grid) String() string

func (*Grid) UpdateExpressions

func (g *Grid) UpdateExpressions(context vit.Component) (int, vit.ErrorGroup)

type Grid_Flow

type Grid_Flow uint
const (
	Grid_Flow_LeftToRight Grid_Flow = 0
	Grid_Flow_TopToBottom Grid_Flow = 1
)

func (Grid_Flow) String

func (enum Grid_Flow) String() string

type Grid_HorizontalItemAlignment

type Grid_HorizontalItemAlignment uint
const (
	Grid_HorizontalItemAlignment_AlignLeft    Grid_HorizontalItemAlignment = 0
	Grid_HorizontalItemAlignment_AlignHCenter Grid_HorizontalItemAlignment = 1
	Grid_HorizontalItemAlignment_AlignRight   Grid_HorizontalItemAlignment = 2
)

func (Grid_HorizontalItemAlignment) String

func (enum Grid_HorizontalItemAlignment) String() string

type Grid_VerticalItemAlignment

type Grid_VerticalItemAlignment uint
const (
	Grid_VerticalItemAlignment_AlignTop     Grid_VerticalItemAlignment = 0
	Grid_VerticalItemAlignment_AlignVCenter Grid_VerticalItemAlignment = 1
	Grid_VerticalItemAlignment_AlignBottom  Grid_VerticalItemAlignment = 2
)

func (Grid_VerticalItemAlignment) String

func (enum Grid_VerticalItemAlignment) String() string

type Image

type Image struct {
	*Item
	// contains filtered or unexported fields
}

func NewImage

func NewImage(id string, context *vit.FileContext) *Image

func (*Image) AddChild

func (i *Image) AddChild(child vit.Component)

func (*Image) AddChildAfter

func (i *Image) AddChildAfter(afterThis vit.Component, addThis vit.Component)

func (*Image) As

func (i *Image) As(target *vit.Component) bool

func (*Image) Draw

func (i *Image) Draw(ctx vit.DrawingContext, area vit.Rect) error

func (*Image) Event

func (i *Image) Event(name string) (vit.Listenable, bool)

func (*Image) Finish

func (i *Image) Finish() error

func (*Image) ID

func (i *Image) ID() string

func (*Image) MustProperty

func (i *Image) MustProperty(key string) vit.Value

func (*Image) Property

func (i *Image) Property(key string) (vit.Value, bool)

func (*Image) ResolveVariable

func (i *Image) ResolveVariable(key string) (interface{}, bool)

func (*Image) SetProperty

func (i *Image) SetProperty(key string, value interface{}) error

func (*Image) SetPropertyCode

func (i *Image) SetPropertyCode(key string, code vit.Code) error

func (*Image) String

func (i *Image) String() string

func (*Image) UpdateExpressions

func (i *Image) UpdateExpressions(context vit.Component) (int, vit.ErrorGroup)

type Image_FillMode

type Image_FillMode uint
const (
	Image_FillMode_Fill            Image_FillMode = 0
	Image_FillMode_Fit             Image_FillMode = 1
	Image_FillMode_PreferUnchanged Image_FillMode = 2
)

func (Image_FillMode) String

func (enum Image_FillMode) String() string

type Item

type Item struct {
	vit.Root
	// contains filtered or unexported fields
}

func NewItem

func NewItem(id string, context *vit.FileContext) *Item

func (*Item) AddBoundsDependency

func (i *Item) AddBoundsDependency(d vit.Dependent)

func (*Item) AddChild

func (i *Item) AddChild(child vit.Component)

func (*Item) AddChildAfter

func (i *Item) AddChildAfter(afterThis, addThis vit.Component)

func (*Item) ApplyLayout

func (i *Item) ApplyLayout(l *vit.Layout)

func (*Item) As

func (i *Item) As(target *vit.Component) bool

func (*Item) Bounds

func (i *Item) Bounds() vit.Rect

func (*Item) Draw

func (i *Item) Draw(ctx vit.DrawingContext, area vit.Rect) error

func (*Item) Event

func (i *Item) Event(name string) (vit.Listenable, bool)

func (*Item) Finish

func (i *Item) Finish() error

func (*Item) ID

func (i *Item) ID() string

func (*Item) MustProperty

func (i *Item) MustProperty(key string) vit.Value

func (*Item) Property

func (i *Item) Property(key string) (vit.Value, bool)

func (*Item) RemoveBoundsDependency

func (i *Item) RemoveBoundsDependency(d vit.Dependent)

func (*Item) ResolveVariable

func (i *Item) ResolveVariable(key string) (interface{}, bool)

func (*Item) SetContentSize

func (i *Item) SetContentSize(w, h float64)

SetContentSize sets size of the content of the item. Should only be called by Components that embed this Item.

func (*Item) SetProperty

func (i *Item) SetProperty(key string, value interface{}) error

func (*Item) SetPropertyCode

func (i *Item) SetPropertyCode(key string, code vit.Code) error

func (*Item) String

func (i *Item) String() string

func (*Item) UpdateExpressions

func (i *Item) UpdateExpressions(context vit.Component) (int, vit.ErrorGroup)

type KeyArea

type KeyArea struct {
	*Item
	// contains filtered or unexported fields
}

func NewKeyArea

func NewKeyArea(id string, context *vit.FileContext) *KeyArea

func (*KeyArea) AddChild

func (k *KeyArea) AddChild(child vit.Component)

func (*KeyArea) AddChildAfter

func (k *KeyArea) AddChildAfter(afterThis vit.Component, addThis vit.Component)

func (*KeyArea) As

func (k *KeyArea) As(target *vit.Component) bool

func (*KeyArea) Event

func (k *KeyArea) Event(name string) (vit.Listenable, bool)

func (*KeyArea) Finish

func (k *KeyArea) Finish() error

func (*KeyArea) ID

func (k *KeyArea) ID() string

func (*KeyArea) MustProperty

func (k *KeyArea) MustProperty(key string) vit.Value

func (*KeyArea) Property

func (k *KeyArea) Property(key string) (vit.Value, bool)

func (*KeyArea) ResolveVariable

func (k *KeyArea) ResolveVariable(key string) (interface{}, bool)

func (*KeyArea) SetProperty

func (k *KeyArea) SetProperty(key string, value interface{}) error

func (*KeyArea) SetPropertyCode

func (k *KeyArea) SetPropertyCode(key string, code vit.Code) error

func (*KeyArea) String

func (k *KeyArea) String() string

func (*KeyArea) TriggerEvent

func (a *KeyArea) TriggerEvent(e KeyEvent)

func (*KeyArea) UpdateExpressions

func (k *KeyArea) UpdateExpressions(context vit.Component) (int, vit.ErrorGroup)

type KeyEvent

type KeyEvent struct {
	Pressed bool
	Letter  rune
	Code    string
}

type MouseArea

type MouseArea struct {
	*Item
	// contains filtered or unexported fields
}

func NewMouseArea

func NewMouseArea(id string, context *vit.FileContext) *MouseArea

func (*MouseArea) AddChild

func (m *MouseArea) AddChild(child vit.Component)

func (*MouseArea) AddChildAfter

func (m *MouseArea) AddChildAfter(afterThis vit.Component, addThis vit.Component)

func (*MouseArea) As

func (m *MouseArea) As(target *vit.Component) bool

func (*MouseArea) Event

func (m *MouseArea) Event(name string) (vit.Listenable, bool)

func (*MouseArea) Finish

func (m *MouseArea) Finish() error

func (*MouseArea) ID

func (m *MouseArea) ID() string

func (*MouseArea) MustProperty

func (m *MouseArea) MustProperty(key string) vit.Value

func (*MouseArea) Property

func (m *MouseArea) Property(key string) (vit.Value, bool)

func (*MouseArea) ResolveVariable

func (m *MouseArea) ResolveVariable(key string) (interface{}, bool)

func (*MouseArea) SetProperty

func (m *MouseArea) SetProperty(key string, value interface{}) error

func (*MouseArea) SetPropertyCode

func (m *MouseArea) SetPropertyCode(key string, code vit.Code) error

func (*MouseArea) String

func (m *MouseArea) String() string

func (*MouseArea) TriggerEvent

func (m *MouseArea) TriggerEvent(e MouseEvent)

TriggerEvent will be called by vitrum when a mouse event is received

func (*MouseArea) UpdateExpressions

func (m *MouseArea) UpdateExpressions(context vit.Component) (int, vit.ErrorGroup)

type MouseArea_MouseButtons

type MouseArea_MouseButtons uint
const (
	MouseArea_MouseButtons_noButton     MouseArea_MouseButtons = 0
	MouseArea_MouseButtons_leftButton   MouseArea_MouseButtons = 1
	MouseArea_MouseButtons_rightButton  MouseArea_MouseButtons = 2
	MouseArea_MouseButtons_middleButton MouseArea_MouseButtons = 4
	MouseArea_MouseButtons_allButtons   MouseArea_MouseButtons = 134217727
)

func (MouseArea_MouseButtons) String

func (enum MouseArea_MouseButtons) String() string

type MouseEvent

type MouseEvent struct {
	X, Y    int
	Buttons MouseArea_MouseButtons
}

func (*MouseEvent) MaybeSet

func (e *MouseEvent) MaybeSet(input interface{}) error

type Rectangle

type Rectangle struct {
	*Item
	// contains filtered or unexported fields
}

func NewRectangle

func NewRectangle(id string, context *vit.FileContext) *Rectangle

func (*Rectangle) AddChild

func (r *Rectangle) AddChild(child vit.Component)

func (*Rectangle) AddChildAfter

func (r *Rectangle) AddChildAfter(afterThis vit.Component, addThis vit.Component)

func (*Rectangle) As

func (r *Rectangle) As(target *vit.Component) bool

func (*Rectangle) Draw

func (r *Rectangle) Draw(ctx vit.DrawingContext, area vit.Rect) error

func (*Rectangle) Event

func (r *Rectangle) Event(name string) (vit.Listenable, bool)

func (*Rectangle) Finish

func (r *Rectangle) Finish() error

func (*Rectangle) ID

func (r *Rectangle) ID() string

func (*Rectangle) MustProperty

func (r *Rectangle) MustProperty(key string) vit.Value

func (*Rectangle) Property

func (r *Rectangle) Property(key string) (vit.Value, bool)

func (*Rectangle) ResolveVariable

func (r *Rectangle) ResolveVariable(key string) (interface{}, bool)

func (*Rectangle) SetProperty

func (r *Rectangle) SetProperty(key string, value interface{}) error

func (*Rectangle) SetPropertyCode

func (r *Rectangle) SetPropertyCode(key string, code vit.Code) error

func (*Rectangle) String

func (r *Rectangle) String() string

func (*Rectangle) UpdateExpressions

func (r *Rectangle) UpdateExpressions(context vit.Component) (int, vit.ErrorGroup)

type Repeater

type Repeater struct {
	*Item
	// contains filtered or unexported fields
}

func NewRepeater

func NewRepeater(id string, context *vit.FileContext) *Repeater

func (*Repeater) AddChild

func (r *Repeater) AddChild(child vit.Component)

func (*Repeater) AddChildAfter

func (r *Repeater) AddChildAfter(afterThis vit.Component, addThis vit.Component)

func (*Repeater) As

func (r *Repeater) As(target *vit.Component) bool

func (*Repeater) Count

func (e *Repeater) Count() int

func (*Repeater) Event

func (r *Repeater) Event(name string) (vit.Listenable, bool)

func (*Repeater) Finish

func (r *Repeater) Finish() error

func (*Repeater) ID

func (r *Repeater) ID() string

func (*Repeater) ItemAt

func (e *Repeater) ItemAt(index int) (vit.Component, bool)

func (*Repeater) MustProperty

func (r *Repeater) MustProperty(key string) vit.Value

func (*Repeater) Property

func (r *Repeater) Property(key string) (vit.Value, bool)

func (*Repeater) ResolveVariable

func (r *Repeater) ResolveVariable(key string) (interface{}, bool)

func (*Repeater) SetProperty

func (r *Repeater) SetProperty(key string, value interface{}) error

func (*Repeater) SetPropertyCode

func (r *Repeater) SetPropertyCode(key string, code vit.Code) error

func (*Repeater) String

func (r *Repeater) String() string

func (*Repeater) UpdateExpressions

func (r *Repeater) UpdateExpressions(context vit.Component) (int, vit.ErrorGroup)

type RepeaterItem

type RepeaterItem struct {
	Component vit.Component
	Key       interface{}
	Value     interface{}
}

type Rotation

type Rotation struct {
	*Item
	// contains filtered or unexported fields
}

func NewRotation

func NewRotation(id string, context *vit.FileContext) *Rotation

func (*Rotation) AddChild

func (r *Rotation) AddChild(child vit.Component)

func (*Rotation) AddChildAfter

func (r *Rotation) AddChildAfter(afterThis vit.Component, addThis vit.Component)

func (*Rotation) As

func (r *Rotation) As(target *vit.Component) bool

func (*Rotation) Draw

func (r *Rotation) Draw(ctx vit.DrawingContext, area vit.Rect) error

func (*Rotation) Event

func (r *Rotation) Event(name string) (vit.Listenable, bool)

func (*Rotation) Finish

func (r *Rotation) Finish() error

func (*Rotation) ID

func (r *Rotation) ID() string

func (*Rotation) MustProperty

func (r *Rotation) MustProperty(key string) vit.Value

func (*Rotation) Property

func (r *Rotation) Property(key string) (vit.Value, bool)

func (*Rotation) ResolveVariable

func (r *Rotation) ResolveVariable(key string) (interface{}, bool)

func (*Rotation) SetProperty

func (r *Rotation) SetProperty(key string, value interface{}) error

func (*Rotation) SetPropertyCode

func (r *Rotation) SetPropertyCode(key string, code vit.Code) error

func (*Rotation) String

func (r *Rotation) String() string

func (*Rotation) UpdateExpressions

func (r *Rotation) UpdateExpressions(context vit.Component) (int, vit.ErrorGroup)

type Rotation_HorizontalPivot

type Rotation_HorizontalPivot uint
const (
	Rotation_HorizontalPivot_PivotLeft    Rotation_HorizontalPivot = 0
	Rotation_HorizontalPivot_PivotHCenter Rotation_HorizontalPivot = 1
	Rotation_HorizontalPivot_PivotRight   Rotation_HorizontalPivot = 2
)

func (Rotation_HorizontalPivot) String

func (enum Rotation_HorizontalPivot) String() string

type Rotation_VerticalPivot

type Rotation_VerticalPivot uint
const (
	Rotation_VerticalPivot_PivotTop     Rotation_VerticalPivot = 0
	Rotation_VerticalPivot_PivotVCenter Rotation_VerticalPivot = 1
	Rotation_VerticalPivot_PivorBottom  Rotation_VerticalPivot = 2
)

func (Rotation_VerticalPivot) String

func (enum Rotation_VerticalPivot) String() string

type Row

type Row struct {
	*Item
	// contains filtered or unexported fields
}

func NewRow

func NewRow(id string, context *vit.FileContext) *Row

func (*Row) AddChild

func (r *Row) AddChild(child vit.Component)

func (*Row) AddChildAfter

func (r *Row) AddChildAfter(afterThis vit.Component, addThis vit.Component)

func (*Row) As

func (r *Row) As(target *vit.Component) bool

func (*Row) ContentSize

func (r *Row) ContentSize() (float64, float64)

func (*Row) Event

func (r *Row) Event(name string) (vit.Listenable, bool)

func (*Row) Finish

func (r *Row) Finish() error

func (*Row) ID

func (r *Row) ID() string

func (*Row) MustProperty

func (r *Row) MustProperty(key string) vit.Value

func (*Row) Property

func (r *Row) Property(key string) (vit.Value, bool)

func (*Row) ResolveVariable

func (r *Row) ResolveVariable(key string) (interface{}, bool)

func (*Row) SetProperty

func (r *Row) SetProperty(key string, value interface{}) error

func (*Row) SetPropertyCode

func (r *Row) SetPropertyCode(key string, code vit.Code) error

func (*Row) String

func (r *Row) String() string

func (*Row) UpdateExpressions

func (r *Row) UpdateExpressions(context vit.Component) (int, vit.ErrorGroup)

type StdLib

type StdLib struct {
}

func (StdLib) ComponentNames

func (l StdLib) ComponentNames() []string

func (StdLib) NewComponent

func (l StdLib) NewComponent(name string, id string, globalCtx *vit.GlobalContext) (vit.Component, bool)

func (StdLib) StaticAttribute

func (l StdLib) StaticAttribute(componentName string, attributeName string) (interface{}, bool)

type Text

type Text struct {
	*Item
	// contains filtered or unexported fields
}

func NewText

func NewText(id string, context *vit.FileContext) *Text

func (*Text) AddChild

func (t *Text) AddChild(child vit.Component)

func (*Text) AddChildAfter

func (t *Text) AddChildAfter(afterThis vit.Component, addThis vit.Component)

func (*Text) As

func (t *Text) As(target *vit.Component) bool

func (*Text) Draw

func (t *Text) Draw(ctx vit.DrawingContext, area vit.Rect) error

func (*Text) Event

func (t *Text) Event(name string) (vit.Listenable, bool)

func (*Text) Finish

func (t *Text) Finish() error

func (*Text) ID

func (t *Text) ID() string

func (*Text) MustProperty

func (t *Text) MustProperty(key string) vit.Value

func (*Text) Property

func (t *Text) Property(key string) (vit.Value, bool)

func (*Text) ResolveVariable

func (t *Text) ResolveVariable(key string) (interface{}, bool)

func (*Text) SetProperty

func (t *Text) SetProperty(key string, value interface{}) error

func (*Text) SetPropertyCode

func (t *Text) SetPropertyCode(key string, code vit.Code) error

func (*Text) String

func (t *Text) String() string

func (*Text) UpdateExpressions

func (t *Text) UpdateExpressions(context vit.Component) (int, vit.ErrorGroup)

type Text_Elide

type Text_Elide uint
const (
	Text_Elide_ElideNone   Text_Elide = 0
	Text_Elide_ElideLeft   Text_Elide = 1
	Text_Elide_ElideMiddle Text_Elide = 2
	Text_Elide_ElideRight  Text_Elide = 3
)

func (Text_Elide) String

func (enum Text_Elide) String() string

type Text_FontWeight

type Text_FontWeight uint
const (
	Text_FontWeight_Thin       Text_FontWeight = 100
	Text_FontWeight_ExtraLight Text_FontWeight = 200
	Text_FontWeight_UltraLight Text_FontWeight = 200
	Text_FontWeight_Light      Text_FontWeight = 300
	Text_FontWeight_Normal     Text_FontWeight = 400
	Text_FontWeight_Regular    Text_FontWeight = 400
	Text_FontWeight_Medium     Text_FontWeight = 500
	Text_FontWeight_DemiBold   Text_FontWeight = 600
	Text_FontWeight_SemiBold   Text_FontWeight = 600
	Text_FontWeight_Bold       Text_FontWeight = 700
	Text_FontWeight_ExtraBold  Text_FontWeight = 800
	Text_FontWeight_UltraBold  Text_FontWeight = 800
	Text_FontWeight_Black      Text_FontWeight = 900
	Text_FontWeight_Heavy      Text_FontWeight = 900
)

func (Text_FontWeight) String

func (enum Text_FontWeight) String() string

type Text_HorizontalAlignment

type Text_HorizontalAlignment uint
const (
	Text_HorizontalAlignment_AlignLeft    Text_HorizontalAlignment = 0
	Text_HorizontalAlignment_AlignHCenter Text_HorizontalAlignment = 1
	Text_HorizontalAlignment_AlignRight   Text_HorizontalAlignment = 2
)

func (Text_HorizontalAlignment) String

func (enum Text_HorizontalAlignment) String() string

type Text_VerticalAlignment

type Text_VerticalAlignment uint
const (
	Text_VerticalAlignment_AlignTop     Text_VerticalAlignment = 0
	Text_VerticalAlignment_AlignVCenter Text_VerticalAlignment = 1
	Text_VerticalAlignment_AlignBottom  Text_VerticalAlignment = 2
)

func (Text_VerticalAlignment) String

func (enum Text_VerticalAlignment) String() string

Jump to

Keyboard shortcuts

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