Sequenceablepublic static class MousePointerStyle.HotSpot extends Object implements Sequenceable
Sequenceable.Producer<T>| 构造器 | 说明 |
|---|---|
HotSpot() |
Creates the default
HotSpot object that describes the offset of the mouse hotspot
in a PixelMap. |
HotSpot(float offsetX,
float offsetY) |
Creates a
HotSpot object that describes the offset of the mouse hotspot in a PixelMap. |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
boolean |
marshalling(Parcel out) |
Marshals this
Sequenceable object into a Parcel. |
boolean |
unmarshalling(Parcel in) |
Unmarshals this
Sequenceable object from a Parcel. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasFileDescriptorpublic HotSpot()
HotSpot object that describes the offset of the mouse hotspot
in a PixelMap.public HotSpot(float offsetX,
float offsetY)
HotSpot object that describes the offset of the mouse hotspot in a PixelMap.offsetX - Indicates the offset of the mouse hotspot in the PixelMap
along the x-axis, in pixels.offsetY - Indicates the offset of the mouse hotspot in the PixelMap
along the y-axis, in pixels.public boolean marshalling(Parcel out)
SequenceableSequenceable object into a Parcel.marshalling 在接口中 Sequenceableout - Indicates the Parcel object to which the Sequenceable
object will be marshaled..true if the marshalling is successful; returns false otherwise.public boolean unmarshalling(Parcel in)
SequenceableSequenceable object from a Parcel.unmarshalling 在接口中 Sequenceablein - Indicates the Parcel object into which the Sequenceable
object has been marshaled.true if the unmarshalling is successful; returns false otherwise.