mirror of
https://github.com/typst/typst
synced 2025-08-12 06:07:54 +08:00
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…
x
Reference in New Issue
Block a user