English | Site Directory

Android - An Open Handset Alliance Project

android.graphics.drawable.shapes.PathShape

java.lang.Object
android.graphics.drawable.shapes.Shape
android.graphics.drawable.shapes.PathShape

Summary

Public Constructors

          PathShape(Path path, float width, float height)

Public Methods

        void  draw(Canvas canvas, Paint paint)
Draw this shape (sized by a previous call to resize()) into the provided canvas and paint.
        void  resize(int width, int height)
Resize this shape (as the subclass sees fit) based on the provided width and height.
Methods inherited from class android.graphics.drawable.shapes.Shape
Methods inherited from class java.lang.Object

Details

Public Constructors

public PathShape(Path path, float width, float height)

Public Methods

public void draw(Canvas canvas, Paint paint)

Draw this shape (sized by a previous call to resize()) into the provided canvas and paint.

public void resize(int width, int height)

Resize this shape (as the subclass sees fit) based on the provided width and height.
Build m5-rc15i - 10 Jun 2008 13:54