utils library
Constants
-
pointResolversMap
→ const Map<
Direction, List< Direction> > -
{Direction.top : [Direction.top, Direction.bottom], Direction.bottom : [Direction.bottom, Direction.top], Direction.right : [Direction.right, Direction.left], Direction.left : [Direction.left, Directi…
Functions
-
applyMargin(
AnchorMargin margin, List< double> point, double distance, MatrixOrientation orientation) → List<double> -
getEdgeMargins(
MatrixNode node, MatrixNode income) → List< AnchorMargin> -
getHeightOfCanvas(
Matrix matrix, double defaultCellHeight, EdgeInsets cellPadding) → double -
getHighestHeightInARow(
Matrix matrix, double defaultCellHeight, int y) → double -
getHorizontalLine(
List< List< points) → List<double> >List< double> > -
getMargin(
AnchorMargin margin, double distance) → double -
getPaddingFromDirection(
EdgeInsets padding, Direction direction) → double -
getVectorDirection(
int x1, int y1, int x2, int y2) → Direction -
getVerticalLine(
List< List< points) → List<double> >List< double> > -
getWidestWidthInAColumn(
Matrix matrix, double defaultCellWidth, int x) → double -
getWidthOfCanvas(
Matrix matrix, double defaultCellWidth, EdgeInsets cellPadding) → double -
getXVertexDirection(
int x1, int x2) → Direction -
getYVertexDirection(
int y1, int y2) → Direction