type github.com/pancsta/d2/d2layouts/d2talalayout/internal/nodeshape.Shape (interface)

Method Implmentations

AspectRatio1() bool github.com/pancsta/d2/d2layouts/d2talalayout/internal/layoutgraph.Node.Shape.AspectRatio1
CenterPortIndex(orientation geo.Orientation) int github.com/pancsta/d2/d2layouts/d2talalayout/internal/layoutgraph.Node.Shape.CenterPortIndex
CenterPortIndices() []int github.com/pancsta/d2/d2layouts/d2talalayout/internal/layoutgraph.Node.Shape.CenterPortIndices
GetBox() *geo.Box github.com/pancsta/d2/d2layouts/d2talalayout/internal/layoutgraph.Node.Shape.GetBox
GetDefaultPadding() (paddingX, paddingY float64) github.com/pancsta/d2/d2layouts/d2talalayout/internal/layoutgraph.Node.Shape.GetDefaultPadding
GetDimensionsToFit(width, height, paddingX, paddingY float64) (float64, float64) github.com/pancsta/d2/d2layouts/d2talalayout/internal/layoutgraph.Node.Shape.GetDimensionsToFit
GetInnerBox() *geo.Box github.com/pancsta/d2/d2layouts/d2talalayout/internal/layoutgraph.Node.Shape.GetInnerBox
GetInnerBoxForContent(width, height float64) *geo.Box github.com/pancsta/d2/d2layouts/d2talalayout/internal/layoutgraph.Node.Shape.GetInnerBoxForContent
GetInsidePlacement(width, height, paddingX, paddingY float64) geo.Point github.com/pancsta/d2/d2layouts/d2talalayout/internal/layoutgraph.Node.Shape.GetInsidePlacement
GetSVGPathData() []string github.com/pancsta/d2/d2layouts/d2talalayout/internal/layoutgraph.Node.Shape.GetSVGPathData
GetType() string github.com/pancsta/d2/d2layouts/d2talalayout/internal/layoutgraph.Node.Shape.GetType
Is(shape string) bool github.com/pancsta/d2/d2layouts/d2talalayout/internal/layoutgraph.Node.Shape.Is
IsRectangular() bool github.com/pancsta/d2/d2layouts/d2talalayout/internal/layoutgraph.Node.Shape.IsRectangular
LabelPositionPreferences(tier LabelTier) map[label.Position]struct{} github.com/pancsta/d2/d2layouts/d2talalayout/internal/layoutgraph.Node.Shape.LabelPositionPreferences
MirroredPortIndices() map[int]int github.com/pancsta/d2/d2layouts/d2talalayout/internal/layoutgraph.Node.Shape.MirroredPortIndices
Perimeter() []geo.Intersectable github.com/pancsta/d2/d2layouts/d2talalayout/internal/layoutgraph.Node.Shape.Perimeter
PortIndices(orientation geo.Orientation) []int github.com/pancsta/d2/d2layouts/d2talalayout/internal/layoutgraph.Node.Shape.PortIndices
SetInnerBoxAspectRatio(aspectRatio float64) github.com/pancsta/d2/d2layouts/d2talalayout/internal/layoutgraph.Node.Shape.SetInnerBoxAspectRatio
SnapPointPercentages() [][]*geo.RelativePoint github.com/pancsta/d2/d2layouts/d2talalayout/internal/layoutgraph.Node.Shape.SnapPointPercentages