mirror of
https://github.com/typst/typst
synced 2025-08-12 14:17:55 +08:00
Update RelativeTo to include tiling in docs (#6730)
This commit is contained in:
parent
bcc71ddb9b
commit
5babe8888c
@ -1143,9 +1143,9 @@ impl Repr for ConicGradient {
|
|||||||
/// What is the gradient relative to.
|
/// What is the gradient relative to.
|
||||||
#[derive(Cast, Debug, Clone, Copy, PartialEq, Eq, Hash)]
|
#[derive(Cast, Debug, Clone, Copy, PartialEq, Eq, Hash)]
|
||||||
pub enum RelativeTo {
|
pub enum RelativeTo {
|
||||||
/// The gradient is relative to itself (its own bounding box).
|
/// Relative to itself (its own bounding box).
|
||||||
Self_,
|
Self_,
|
||||||
/// The gradient is relative to its parent (the parent's bounding box).
|
/// Relative to its parent (the parent's bounding box).
|
||||||
Parent,
|
Parent,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user