summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector@hecrj.dev>2024-06-30 22:57:14 +0200
committerLibravatar GitHub <noreply@github.com>2024-06-30 22:57:14 +0200
commit4687bf7f146792c6136987d79aa16aa9a7c5db81 (patch)
treed4f87b56c84732205a8a23363ea3a9f6c80da260
parentf31d1a4dbca7e244c183ac6dd242b6d8306e09ef (diff)
parentbe59ec0ffce20cf789b18499e37e3e3cb5505b5b (diff)
downloadiced-4687bf7f146792c6136987d79aa16aa9a7c5db81.tar.gz
iced-4687bf7f146792c6136987d79aa16aa9a7c5db81.tar.bz2
iced-4687bf7f146792c6136987d79aa16aa9a7c5db81.zip
Merge pull request #2485 from vladh/add-quad-border-doc
doc: clarify Quad border alignment
-rw-r--r--core/src/renderer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/renderer.rs b/core/src/renderer.rs
index a2785ae8..6684517f 100644
--- a/core/src/renderer.rs
+++ b/core/src/renderer.rs
@@ -69,7 +69,7 @@ pub struct Quad {
/// The bounds of the [`Quad`].
pub bounds: Rectangle,
- /// The [`Border`] of the [`Quad`].
+ /// The [`Border`] of the [`Quad`]. The border is drawn on the inside of the [`Quad`].
pub border: Border,
/// The [`Shadow`] of the [`Quad`].