polygon library
Classes
- CornerPathEffect
- An effect used to curves corners represented by a list of vertices.
- DefaultCornerPathEffect
- A CornerPathEffect which uses the same curve effect as Skia through SkCornerPathEffect.
- NoCornerPathEffect
- A CornerPathEffect which does not add curves at all.
- Polygon
- Represents a shape with multiple vertices (points).
- PolygonBorder
- A polygon border.
- RegularConvexPolygon
- A regular and convex polygon, such as a square, a pentagon, etc.
- RegularStarPolygon
- A regular convex star polygon with vertexCount internal angles (<180°) and vertexCount external angles (>180°).
Enums
- BorderAlign
- The relative position of the stroke on a BorderSide in a Border or OutlinedBorder. When set to inside, the stroke is drawn completely inside the widget. For center and outside, a property such as Container.clipBehavior can be used in an outside widget to clip it. If Container.decoration has a border, the container may incorporate BorderSide.width as additional padding: