Documentation
¶
Index ¶
- Variables
- func ClipShape(shape Shape, gtx layout.Context, dimensions layoutnode.LayoutDimensions) clip.Stack
- type ChainNode
- type ClipData
- type ClipElement
- type ClipNode
- type DrawModifierNode
- type Element
- type InspectableModifier
- type LayoutContext
- type LayoutModifierNode
- type LayoutWidget
- type Modifier
- type ModifierInspectorInfo
- type Node
- type PointerModifierNode
- type Shape
- type TreeNode
Constants ¶
This section is empty.
Variables ¶
View Source
var EmptyModifier = modifier.EmptyModifier
View Source
var ShapeCircle = shape.ShapeCircle
View Source
var ShapeRectangle = shape.ShapeRectangle
View Source
var ToNRGBA = helpers.ToNRGBA
Functions ¶
func ClipShape ¶
func ClipShape(shape Shape, gtx layout.Context, dimensions layoutnode.LayoutDimensions) clip.Stack
Types ¶
type ChainNode ¶
func NewClipNode ¶
func NewClipNode(element ClipElement) ChainNode
type ClipElement ¶
type ClipElement struct {
// contains filtered or unexported fields
}
func (ClipElement) ClipData ¶
func (e ClipElement) ClipData() ClipData
func (ClipElement) Create ¶
func (e ClipElement) Create() Node
Create creates a new Chain Node instance
func (ClipElement) Equals ¶
func (e ClipElement) Equals(other Element) bool
Equals checks if this element is equivalent to another used during filter operations like Modifier.Any
func (ClipElement) Update ¶
func (e ClipElement) Update(node Node)
Update updates an existing Chain node for efficiency
type DrawModifierNode ¶
type DrawModifierNode = layoutnode.DrawModifierNode
type InspectableModifier ¶
type InspectableModifier = modifier.InspectableModifier
type LayoutContext ¶
type LayoutContext = layoutnode.LayoutContext
type LayoutModifierNode ¶
type LayoutModifierNode = layoutnode.LayoutModifierNode
type LayoutWidget ¶
type LayoutWidget = layoutnode.LayoutWidget
type Modifier ¶
func ClipToBounds ¶
func ClipToBounds() Modifier
type ModifierInspectorInfo ¶
type ModifierInspectorInfo = modifier.InspectorInfo
type PointerModifierNode ¶
type PointerModifierNode = layoutnode.PointerInputModifierNode
Click to show internal directories.
Click to hide internal directories.