-
public final class MobileSegment.ShapeStyle
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classMobileSegment.ShapeStyle.Companion
-
Field Summary
Fields Modifier and Type Field Description private final StringbackgroundColorprivate final Numberopacityprivate final NumbercornerRadius
-
Constructor Summary
Constructors Constructor Description MobileSegment.ShapeStyle(String backgroundColor, Number opacity, Number cornerRadius)
-
Method Summary
Modifier and Type Method Description final StringgetBackgroundColor()final NumbergetOpacity()final NumbergetCornerRadius()final JsonElementtoJson()-
-
Constructor Detail
-
MobileSegment.ShapeStyle
MobileSegment.ShapeStyle(String backgroundColor, Number opacity, Number cornerRadius)
- Parameters:
backgroundColor- The background color for this wireframe as a String hexadecimal.opacity- The opacity of this wireframe.cornerRadius- The corner(border) radius of this wireframe in pixels.
-
-
Method Detail
-
getBackgroundColor
final String getBackgroundColor()
-
getOpacity
final Number getOpacity()
-
getCornerRadius
final Number getCornerRadius()
-
toJson
final JsonElement toJson()
-
-
-
-