-
public final class MobileSegment.Wireframe.ShapeWireframe extends MobileSegment.Wireframe
Schema of common properties for Wireframe events type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classMobileSegment.Wireframe.ShapeWireframe.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Stringtypeprivate final Longidprivate final Longxprivate final Longyprivate final Longwidthprivate final Longheightprivate final MobileSegment.WireframeClipclipprivate final MobileSegment.ShapeStyleshapeStyleprivate final MobileSegment.ShapeBorderborder
-
Constructor Summary
Constructors Constructor Description MobileSegment.Wireframe.ShapeWireframe(Long id, Long x, Long y, Long width, Long height, MobileSegment.WireframeClip clip, MobileSegment.ShapeStyle shapeStyle, MobileSegment.ShapeBorder border)
-
Method Summary
Modifier and Type Method Description final StringgetType()final LonggetId()final LonggetX()final LonggetY()final LonggetWidth()final LonggetHeight()final MobileSegment.WireframeClipgetClip()final MobileSegment.ShapeStylegetShapeStyle()final MobileSegment.ShapeBordergetBorder()JsonElementtoJson()-
-
Constructor Detail
-
MobileSegment.Wireframe.ShapeWireframe
MobileSegment.Wireframe.ShapeWireframe(Long id, Long x, Long y, Long width, Long height, MobileSegment.WireframeClip clip, MobileSegment.ShapeStyle shapeStyle, MobileSegment.ShapeBorder border)
- Parameters:
id- Defines the unique ID of the wireframe.x- The position in pixels on X axis of the UI element in absolute coordinates.y- The position in pixels on Y axis of the UI element in absolute coordinates.width- The width in pixels of the UI element, normalized based on the device pixels per inch density (DPI).height- The height in pixels of the UI element, normalized based on the device pixels per inch density (DPI).clip- Schema of clipping information for a Wireframe.
-
-
Method Detail
-
getClip
final MobileSegment.WireframeClip getClip()
-
getShapeStyle
final MobileSegment.ShapeStyle getShapeStyle()
-
getBorder
final MobileSegment.ShapeBorder getBorder()
-
toJson
JsonElement toJson()
-
-
-
-