public abstract class

Pen

extends Object
java.lang.Object
   ↳ com.htc.painting.tool.pen.Pen
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Pen is the basic class of a pen with all pen properties

Summary

Fields
protected Context mContext
protected ReadOnlyPenProps mPenProps Pen Property Bundle
Public Constructors
Pen(Context context, Integer id, ReadOnlyPenProps penProps)
Default constructor with id and PenPropsBundleR
Public Methods
final String getAppPackageName()
Get pen application package name
final int getId()
Get id
final String getName()
Get pen name
final ReadOnlyPenProps getPenProps()
Get pen penProps
abstract IRenderEngine getRenderEngine()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected Context mContext

Since: API Level 2.0

protected ReadOnlyPenProps mPenProps

Since: API Level 2.0

Pen Property Bundle

Public Constructors

public Pen (Context context, Integer id, ReadOnlyPenProps penProps)

Since: API Level 2.0

Default constructor with id and PenPropsBundleR

Public Methods

public final String getAppPackageName ()

Since: API Level 2.0

Get pen application package name

Returns
  • pen application package name

public final int getId ()

Since: API Level 2.0

Get id

Returns
  • id

public final String getName ()

Since: API Level 2.0

Get pen name

Returns
  • pen name

public final ReadOnlyPenProps getPenProps ()

Since: API Level 2.0

Get pen penProps

Returns
  • read only penProps

public abstract IRenderEngine getRenderEngine ()

Since: API Level 2.0

public String toString ()

Since: API Level