Package ch.nolix.system.gui.box
Klasse CornerShadow
java.lang.Object
ch.nolix.system.element.base.AbstractElement
ch.nolix.system.gui.box.CornerShadow
- Alle implementierten Schnittstellen:
IElement,ICornerShadow
A
CornerShadow is not mutable.- Version:
- 2025-08-09
- Autor:
- Silvan Wyss
-
Feldübersicht
Felder -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic CornerShadowfromCornerShadow(ICornerShadow cornerShadow) static CornerShadowfromSpecification(INode<?> specification) IContainer<INode<?>> intgetColor()intintstatic CornerShadowwithCornerAndLocationAndSide1ThicknessAnsSide2ThicknessAndBlurRadiusAndColor(Corner corner, Location location, int side1Thickness, int side2Thickness, int blurRadius, IColor color) Von Klasse geerbte Methoden ch.nolix.system.element.base.AbstractElement
equals, getSpecification, hashCode, toStringVon Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden ch.nolix.systemapi.element.base.IElement
toFormatedString, toXml
-
Felddetails
-
DEFAULT_LOCATION
-
-
Methodendetails
-
fromCornerShadow
- Parameter:
cornerShadow-- Gibt zurück:
- a
CornerShadowfrom the given cornerShadow. - Löst aus:
RuntimeException- if the given cornerShadow is null.
-
fromSpecification
- Parameter:
specification-- Gibt zurück:
- a
CornerShadowfrom the given specification. - Löst aus:
RuntimeException- if the given specification is not valid.
-
withCornerAndLocationAndSide1ThicknessAnsSide2ThicknessAndBlurRadiusAndColor
public static CornerShadow withCornerAndLocationAndSide1ThicknessAnsSide2ThicknessAndBlurRadiusAndColor(Corner corner, Location location, int side1Thickness, int side2Thickness, int blurRadius, IColor color) - Parameter:
corner-location-side1Thickness-side2Thickness-blurRadius-color-- Gibt zurück:
- a new
CornerShadowwith the given corner, location, side1Thickness, side2Thickness, blurRadius and color. - Löst aus:
RuntimeException- if the given corner is null.RuntimeException- if the given location is null.RuntimeException- if the given side1Thickness is negative.RuntimeException- if the given side2Thickness is negative.RuntimeException- if the given blurRadius is negative.RuntimeException- if the given color is null.
-
getAttributes
- Angegeben von:
getAttributesin SchnittstelleIElement- Gibt zurück:
- the attributes of the current
IElement.
-
getBlurRadius
public int getBlurRadius()- Angegeben von:
getBlurRadiusin SchnittstelleICornerShadow- Gibt zurück:
- the blur radius of the current {ICornerShadow}.
-
getColor
- Angegeben von:
getColorin SchnittstelleICornerShadow- Gibt zurück:
- the color of the current {ICornerShadow}.
-
getCorner
- Angegeben von:
getCornerin SchnittstelleICornerShadow- Gibt zurück:
- the corner of the current {ICornerShadow}.
-
getLocation
- Angegeben von:
getLocationin SchnittstelleICornerShadow- Gibt zurück:
- the location of the current {ICornerShadow}.
-
getSide1Thickness
public int getSide1Thickness()- Angegeben von:
getSide1Thicknessin SchnittstelleICornerShadow- Gibt zurück:
- the side 1 thickness of the current {ICornerShadow}.
-
getSide2Thickness
public int getSide2Thickness()- Angegeben von:
getSide2Thicknessin SchnittstelleICornerShadow- Gibt zurück:
- the side 2 thickness of the current {ICornerShadow}.
-