Fix curve docs for fill (refer to curve instead of rectangle) (#6714)

This commit is contained in:
Robin 2025-08-07 17:47:12 +02:00 committed by GitHub
parent 7392140572
commit a16a4e974d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -43,8 +43,8 @@ use super::FixedStroke;
pub struct CurveElem {
/// How to fill the curve.
///
/// When setting a fill, the default stroke disappears. To create a
/// rectangle with both fill and stroke, you have to configure both.
/// When setting a fill, the default stroke disappears. To create a curve
/// with both fill and stroke, you have to configure both.
pub fill: Option<Paint>,
/// The drawing rule used to fill the curve.