menu
canvas_core package
documentation
canvas_core_runtime.dart
NodeGeometry class
NodeGeometry class
dark_mode
light_mode
NodeGeometry
class
final
Constructors
NodeGeometry
(
CoreServices
services
)
const
Properties
hashCode
→
int
The hash code for this object.
no setter
inherited
runtimeType
→
Type
A representation of the runtime type of the object.
no setter
inherited
services
→
CoreServices
final
Methods
leafBounds
(
Node
n
, {
Map
<
ElementId
,
PathIR
>
?
pathIRById
,
Map
<
ElementId
,
ImagePlacement
>
?
imagePlacementById
,
Map
<
ElementId
,
ResolvedIconText
>
?
iconTextById
,
Map
<
ElementId
,
PathIR
>
?
iconPathIRById
})
→ (
{
Rect2D
layout
,
Rect2D
?
paint
}
)?
Layout preserves existing pivot and interaction geometry. Paint is an estimate; null means no resolved source will be drawn. Text estimates use layout metrics, not guaranteed glyph-pixel bounds.
noSuchMethod
(
Invocation
invocation
)
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString
(
)
→
String
A string representation of this object.
inherited
Operators
operator ==
(
Object
other
)
→
bool
The equality operator.
inherited
canvas_core package
documentation
canvas_core_runtime
NodeGeometry class
canvas_core_runtime library