mirror of
https://github.com/typst/typst
synced 2025-08-12 14:17:55 +08:00
Remove redundant "This can be" from stroke docs of curve and polygon (#6715)
This commit is contained in:
parent
7546bfff74
commit
7392140572
@ -69,7 +69,7 @@ pub struct CurveElem {
|
|||||||
#[default]
|
#[default]
|
||||||
pub fill_rule: FillRule,
|
pub fill_rule: FillRule,
|
||||||
|
|
||||||
/// How to [stroke] the curve. This can be:
|
/// How to [stroke] the curve.
|
||||||
///
|
///
|
||||||
/// Can be set to `{none}` to disable the stroke or to `{auto}` for a
|
/// Can be set to `{none}` to disable the stroke or to `{auto}` for a
|
||||||
/// stroke of `{1pt}` black if and only if no fill is given.
|
/// stroke of `{1pt}` black if and only if no fill is given.
|
||||||
|
@ -47,7 +47,7 @@ pub struct PathElem {
|
|||||||
#[default]
|
#[default]
|
||||||
pub fill_rule: FillRule,
|
pub fill_rule: FillRule,
|
||||||
|
|
||||||
/// How to [stroke] the path. This can be:
|
/// How to [stroke] the path.
|
||||||
///
|
///
|
||||||
/// Can be set to `{none}` to disable the stroke or to `{auto}` for a
|
/// Can be set to `{none}` to disable the stroke or to `{auto}` for a
|
||||||
/// stroke of `{1pt}` black if and only if no fill is given.
|
/// stroke of `{1pt}` black if and only if no fill is given.
|
||||||
|
@ -35,7 +35,7 @@ pub struct PolygonElem {
|
|||||||
#[default]
|
#[default]
|
||||||
pub fill_rule: FillRule,
|
pub fill_rule: FillRule,
|
||||||
|
|
||||||
/// How to [stroke] the polygon. This can be:
|
/// How to [stroke] the polygon.
|
||||||
///
|
///
|
||||||
/// Can be set to `{none}` to disable the stroke or to `{auto}` for a
|
/// Can be set to `{none}` to disable the stroke or to `{auto}` for a
|
||||||
/// stroke of `{1pt}` black if and only if no fill is given.
|
/// stroke of `{1pt}` black if and only if no fill is given.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user