-
public final class MobileSegment.Wireframe.TextWireframe extends MobileSegment.Wireframe
Schema of common properties for Wireframe events type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classMobileSegment.Wireframe.TextWireframe.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.ShapeBorderborderprivate Stringtextprivate final MobileSegment.TextStyletextStyleprivate final MobileSegment.TextPositiontextPositionprivate final StringpermanentId
-
Constructor Summary
Constructors Constructor Description MobileSegment.Wireframe.TextWireframe(Long id, Long x, Long y, Long width, Long height, MobileSegment.WireframeClip clip, MobileSegment.ShapeStyle shapeStyle, MobileSegment.ShapeBorder border, String text, MobileSegment.TextStyle textStyle, MobileSegment.TextPosition textPosition, String permanentId)
-
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()final StringgetText()final UnitsetText(String text)final MobileSegment.TextStylegetTextStyle()final MobileSegment.TextPositiongetTextPosition()final StringgetPermanentId()JsonElementtoJson()-
-
Constructor Detail
-
MobileSegment.Wireframe.TextWireframe
MobileSegment.Wireframe.TextWireframe(Long id, Long x, Long y, Long width, Long height, MobileSegment.WireframeClip clip, MobileSegment.ShapeStyle shapeStyle, MobileSegment.ShapeBorder border, String text, MobileSegment.TextStyle textStyle, MobileSegment.TextPosition textPosition, String permanentId)
- 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.text- The text value of the wireframe.permanentId- A globally unique and stable identifier for this UI element, computed as the hash of the element's path.
-
-
Method Detail
-
getClip
final MobileSegment.WireframeClip getClip()
-
getShapeStyle
final MobileSegment.ShapeStyle getShapeStyle()
-
getBorder
final MobileSegment.ShapeBorder getBorder()
-
getTextStyle
final MobileSegment.TextStyle getTextStyle()
-
getTextPosition
final MobileSegment.TextPosition getTextPosition()
-
getPermanentId
final String getPermanentId()
-
toJson
JsonElement toJson()
-
-
-
-