The requested page is not available for the requested platform. You are viewing the content for Default platform.

Drawable Interface

The interface an object that can be drawn should implement.

Declaration

public interface Drawable

Methods

onDraw(Canvas) Method

Called when something should be drawn.

Declaration

public void onDraw(Canvas canvas)

Parameters

Name Type Description
canvas Canvas

The object specifying what is drawn.