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
![]() |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |