Class CornerShadowToCssMapperHelper
java.lang.Object
ch.nolix.system.gui.cssmapper.CornerShadowToCssMapperHelper
Of the
CornerShadowToCssMapperHelper an instance cannot be created.- Author:
- Silvan Wyss
-
Method Summary
-
Method Details
-
mapCornerShadowToCssPropertyWhenShadowIsInsideTheBox
public static ICssProperty mapCornerShadowToCssPropertyWhenShadowIsInsideTheBox(ICornerShadow cornerShadow) - Parameters:
cornerShadow-- Returns:
- a new
ICssPropertyfrom the given cornerShadow when the shadow is inside the box. - Throws:
RuntimeException- if the given cornerShadow is null.
-
mapCornerShadowToCssPropertyWhenShadowIsOutsideTheBox
public static ICssProperty mapCornerShadowToCssPropertyWhenShadowIsOutsideTheBox(ICornerShadow cornerShadow) - Parameters:
cornerShadow-- Returns:
- a new
ICssPropertyfrom the given cornerShadow when the shadow is outside the box. - Throws:
RuntimeException- if the given cornerShadow is null.
-