From 9fc90b134b405609b0f6f177cfd88fa39e2d7604 Mon Sep 17 00:00:00 2001 From: nlisker <37422899+nlisker@users.noreply.github.com> Date: Thu, 5 Sep 2024 00:03:25 +0300 Subject: [PATCH] Fix typos in LinearGradient.java --- .../src/main/java/javafx/scene/paint/LinearGradient.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/javafx.graphics/src/main/java/javafx/scene/paint/LinearGradient.java b/modules/javafx.graphics/src/main/java/javafx/scene/paint/LinearGradient.java index 8226b121aee..e89fdec2999 100644 --- a/modules/javafx.graphics/src/main/java/javafx/scene/paint/LinearGradient.java +++ b/modules/javafx.graphics/src/main/java/javafx/scene/paint/LinearGradient.java @@ -376,9 +376,9 @@ Object acc_getPlatformPaint() { * <point> = [ [ <length> <length> ] | [ <percentage> | <percentage> ] ] * <color-stop> = [ <color> [ <percentage> | <length>]? ] * - *

Currently length can be only specified in px, the specification of unit can be omited. + *

Currently length can be only specified in px, the specification of unit can be omitted. * Format of color representation is the one used in {@link Color#web(String color)}. - * The linear-gradient keyword can be omited. + * The linear-gradient keyword can be omitted. * For additional information about the format of string representation, see the * CSS Reference Guide. *