SelectionBoundary


public final class SelectionBoundary


Represents one edge of the selected content.

Summary

Public constructors

SelectionBoundary(int index, Point point, boolean isRtl)

Public methods

final int

: Index of the selection boundary

final Point

: The point of selection boundary.

final boolean

: Determines whether the direction of selection is right-to-left (rtl) or reverse

Public constructors

SelectionBoundary

Added in 1.0.0-alpha10
public SelectionBoundary(int index, Point point, boolean isRtl)
Parameters
int index

: Index of the selection boundary

Point point

: The point of selection boundary.

boolean isRtl

: Determines whether the direction of selection is right-to-left (rtl) or reverse

Public methods

getIndex

Added in 1.0.0-alpha10
public final int getIndex()

: Index of the selection boundary

getPoint

Added in 1.0.0-alpha10
public final Point getPoint()

: The point of selection boundary.

isRtl

Added in 1.0.0-alpha10
public final boolean isRtl()

: Determines whether the direction of selection is right-to-left (rtl) or reverse