Fix curve docs for fill (refer to curve instead of rectangle) (#6714)
This commit is contained in:
parent
7392140572
commit
a16a4e974d
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue