summaryrefslogtreecommitdiffstats
path: root/core/src/gradient.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector@hecrj.dev>2023-09-09 21:16:55 +0200
committerLibravatar GitHub <noreply@github.com>2023-09-09 21:16:55 +0200
commite3aa8f71e6d27135ddc3bddf2a141fe42375b3f9 (patch)
tree2fd3b5f27ff4ac185a105ddce1a8f26b1b5b276b /core/src/gradient.rs
parent89d9c45d25e9bf89e48858b135bc7a2d41c757a8 (diff)
parent419d9374b79b39293ba9a17967c2356d29377d8f (diff)
downloadiced-e3aa8f71e6d27135ddc3bddf2a141fe42375b3f9.tar.gz
iced-e3aa8f71e6d27135ddc3bddf2a141fe42375b3f9.tar.bz2
iced-e3aa8f71e6d27135ddc3bddf2a141fe42375b3f9.zip
Merge pull request #2077 from matze/fix-doc-links
Fix majority of unresolved documentation links
Diffstat (limited to 'core/src/gradient.rs')
-rw-r--r--core/src/gradient.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/src/gradient.rs b/core/src/gradient.rs
index e19622fb..4a0d5ea0 100644
--- a/core/src/gradient.rs
+++ b/core/src/gradient.rs
@@ -6,10 +6,8 @@ use std::cmp::Ordering;
#[derive(Debug, Clone, Copy, PartialEq)]
/// A fill which transitions colors progressively along a direction, either linearly, radially (TBD),
/// or conically (TBD).
-///
-/// For a gradient which can be used as a fill on a canvas, see [`iced_graphics::Gradient`].
pub enum Gradient {
- /// A linear gradient interpolates colors along a direction at a specific [`Angle`].
+ /// A linear gradient interpolates colors along a direction at a specific angle.
Linear(Linear),
}