WritingArea

  • WritingArea represents the properties of a writing area.

  • It has a constructor that takes the width and height of the writing area as arguments.

  • It provides methods to retrieve the height and width of the writing area.

public class WritingArea extends Object

Represents the properties of the writing area.

Public Constructor Summary

WritingArea(float width, float height)
Constructor taking the width and height of the writing area.

Public Method Summary

float
getHeight()
Returns the writing area height.
float
getWidth()
Returns the writing area width.

Inherited Method Summary

Public Constructors

public WritingArea (float width, float height)

Constructor taking the width and height of the writing area.

Both numbers must be in the same unit as in an Ink instance.

Public Methods

public float getHeight ()

Returns the writing area height.

public float getWidth ()

Returns the writing area width.