utils library

Enums

Direction

Constants

pointResolversMap → const Map<Direction, List<Direction>>

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<double>> points) List<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<double>> points) List<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