StampStyle

public class StampStyle extends Object
implements Parcelable
Known Direct Subclasses
SpriteStyle Describes a StampStyle , where the associated stamp is a repeating complete image. 
TextureStyle Describes a StampStyle , where the associated stamp is used as a texture. 

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

Inherited Constant Summary

Protected Constructor Summary

Public Method Summary

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

Inherited Method Summary

Protected Constructors

protected StampStyle ( BitmapDescriptor stamp)

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.
Create a Mobile Website
View Site in Mobile | Classic
Share by: