This version uses Bevy's Required Components, therefore many items have been changed. Examples may help migration.
Path
component renamed toShape
. It is now the central component of a shape entity.Shape
now includes fill and stroke data.Fill
andStroke
are no longerComponent
s.- Deprecated
ShapeBundle
in favor of theShape
component. prelude
no longer exportsShapeBundle
.- Added
ShapeBuilder
: works similarly toGeometryBuilder
- Removed
GeometryBuilder
andShapePath
. PathBuilder
now allows chaining methods.
- Support for Bevy 0.15.0.
Rectangle
now supports border radii (seerectangle.rs
example).- Removed deprecated
SpatialBundle
fromShapeBundle
:Transform
andVisibility
are now added separately.
- Support for Bevy 0.14.
- Support for Bevy 0.13.
- Support for Bevy 0.12.
ShapeBundle
now contains thespatial: SpatialBundle
field, which bundles togetherTransform
,GlobalTransform
,Visibility
andInheritedVisibility
.
- Support for Bevy 0.11.
ShapeBundle
now contains thespatial: SpatialBundle
field, which bundles togetherTransform
,GlobalTransform
,Visibility
andInheritedVisibility
.
- Support for Bevy 0.10.
- Uses original render.
- Added
RoundedPolygon
. FillMode
andStrokeMode
are now components and have been renamed toFill
andStroke
.
- Fixed crash when using HDR textures.
- Fixed wrong rectangle origin bug.
- Support for Bevy 0.9
- Update lyon_tesselation to 1.0
- Update svgtypes to 0.8
- Support for Bevy 0.8
- Support for Bevy 0.7
- Support for Bevy 0.6
- Shape properties can be dynamically changed
- Restored support for bevy_webgl2 (lost on v0.3.0).
- Support for Bevy 0.5
- Shapes with outline
- Complete API reworking
- Regular polygon support
- Extensible shape system through
Geometry
trait
- updated dependency to
lyon_tessellation v0.17
- with
lyon_tessellation v0.17
, unfortunately rectangles with rounded borders are no longer supported. Quad
,Triangle
andPolyline
have been substituted by a general-purposePolygon
shape.