gui_shape library

Classes

GeoAngle
The GeoAngle class defines an angle that may be given in degrees or radians (but not both). It automatically converts angles to degrees and radians for easier access
GeoCircle
The GeoCircle class defines an geometric circle with radius. The class may be used to calculate coordinates on the circle given an angle in radians or degrees.
GeoCoordinate
The GeoCoordinate class defines (x,y,z) coordinates on a 3-dimensional space.
GeoCoordinate2D
The GeoCoordinate2D class defines (x,y) coordinates on a 2-dimensional plane (w/ z = 0 implied).
GeoCustomPoints
The GeoCustomPoints class defines a custom user-defined shape.
GeoEllipse
The GeoEllipse class defines an geometric ellipse with horizontal radius xRadius, and vertical radius yRadius. The class may be used to calculate coordinates on the ellipse given an angle in radians or degrees.
GeoPath
The GeoPath class is used to generate a smooth Path by rounding corners with cornerRadius units from the corner. If cornerRadius is zero, the coordinates are converted into a Path without rounding corners. Otherwise, the start and end of the curve on two adjacent sides is determined by cornerRadius using a bezeir curve.
GeoPolygon
The GeoPolygon class defines a n-sided polygon. The class may be used to calculate coordinates and paths of a polygon.
GeoStar
The GeoStar class defines a star pattern with n-leaves. The class may be used to calculate coordinates and paths of a polygon.
GeoUtility
The GeoUtility class is used for performing various transformations on coordinates (ie. re-centering, shifting, scaling, etc.).
GuiBitmapBuffer
The GuiBitmapBuffer class provides an interface for creating custom 24-bit or 32-bit bitmaps and flutter image. The structure of a Bitmap Buffer is defined below: Reference Documentation: https://en.wikipedia.org/wiki/BMP_file_format
GuiClipShape
A stateless widget for clipping a shape (implementing IGuiShape interface) around a child widget. An array of shadows may be defined to create impression of elevation (aka floating effect).
GuiGradientColor
Defines a gradient color with stopping point (generally but not necessarily between 0 and 1.0)
GuiGradientImage
A helper class for generating image based on 2-dimensional gradient and size dimensions.
GuiNormalizeGradient
The GuiNormalizeGradient class takes a user-defined 2-dimensional color maps and normalizes it to contain equal number of stops in each row of the color map, and inserts the colors for stops at 0.0 and 1.0 if missing. Each row may be defined by an arbitrary number of gradient colors GuiGradientColor. GuiNormalizeGradient will automatically reconstruct the colormap so that each row has equal number of columns or gradient colors. If stops for 0.0 and 1.0 are missing from either row or column, it is automatically computed based on colors defined outside the range. If none were provided, then a transparent color is assumed.
GuiShadow
Specification of a shadow consisting of color and elevation.
GuiShapeBorder
Creates an outlined border defined by provided shape.
GuiShapeClipper
Provides a polygon shaped clip path.
GuiShapeCustom
The GuiShapeCustom class defines a custom shape defined by a set of points connected in sequence.
GuiShapePolar
The GuiShapePolar class defines a polar graph's properties.
GuiShapePolygon
The GuiShapePolygon class defines a polygon's properties.
GuiShapeShadowPainter
A polygon shaped shadow
GuiShapeStar
The GuiShapeStar class defines a star's properties.
IGuiShape
Interface for defining custom shape

Typedefs

GuiPolarFunction = double Function(GeoAngle angle)
A callback function for calculating amplitude at an angle in a polar function