Stay organized with collections Save and categorize content based on your preferences.

PointerCoordsBuilder

public class PointerCoordsBuilder


Builder for PointerCoords.

Summary

Public constructors

Public methods

PointerCoords
static PointerCoordsBuilder
PointerCoordsBuilder
setCoords(float x, float y)
PointerCoordsBuilder
setOrientation(float orientation)
PointerCoordsBuilder
setPressure(float pressure)
PointerCoordsBuilder
setSize(float size)
PointerCoordsBuilder
setTool(float toolMajor, float toolMinor)
PointerCoordsBuilder
setTouch(float touchMajor, float touchMinor)

Public constructors

PointerCoordsBuilder

public PointerCoordsBuilder()

Public methods

build

public PointerCoords build()

newBuilder

public static PointerCoordsBuilder newBuilder()

setCoords

public PointerCoordsBuilder setCoords(float x, float y)

setOrientation

public PointerCoordsBuilder setOrientation(float orientation)

setPressure

public PointerCoordsBuilder setPressure(float pressure)

setSize

public PointerCoordsBuilder setSize(float size)

setTool

public PointerCoordsBuilder setTool(float toolMajor, float toolMinor)

setTouch

public PointerCoordsBuilder setTouch(float touchMajor, float touchMinor)