-
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.TextPositiontextPosition
-
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)
-
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()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)
- 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.
-
-
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()
-
toJson
JsonElement toJson()
-
-
-
-