StampStyle

public class StampStyle extends AbstractSafeParcelable
Known Direct Subclasses

Describes the drawing style for a stamped image or texture over a StrokeStyle.

Inherited Constant Summary

String NULL
int CONTENTS_FILE_DESCRIPTOR
int PARCELABLE_WRITE_RETURN_VALUE

Public Method Summary

BitmapDescriptor
getStamp()
The image or texture to be repeated over a stroke.

Inherited Method Summary

final int
describeContents()
boolean
equals(Object arg0)
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()
abstract int
describeContents()
abstract void
writeToParcel(Parcel arg0, int arg1)

Public Methods

public BitmapDescriptor getStamp ()

The image or texture to be repeated over a stroke.

The rendered stamps will be the width of the line that was set for the StrokeStyle. The image will be oriented with the top of the image facing the start point, and the bottom of the image facing the end point. For example, if the underlying line has two points and the start point is directly above the endpoint, the stamp will appear in an upright orientation.

Returns
  • the bitmap image for this stamp style.