Package com.adobe.fontengine.font
Class BitmapConsumerBaseImpl
- java.lang.Object
-
- com.adobe.fontengine.font.BitmapConsumerBaseImpl
-
- All Implemented Interfaces:
BitmapConsumer
public class BitmapConsumerBaseImpl extends java.lang.Object implements BitmapConsumer
An implementation of BitmapConsumer that does nothing. This is meant to be used as a base class.
-
-
Constructor Summary
Constructors Constructor Description BitmapConsumerBaseImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRun(double xOn, double xOff, double y)
Add a run of black pixels to the bitmap.void
endBitmap()
End of a bitmap.void
startBitmap(int n)
Called at the beginning of a bitmap.
-
-
-
Method Detail
-
startBitmap
public void startBitmap(int n)
Description copied from interface:BitmapConsumer
Called at the beginning of a bitmap.- Specified by:
startBitmap
in interfaceBitmapConsumer
- Parameters:
n
- some identifier for the bitmap. The meaning of that identifier is not defined by this interface, but that the contract between the client and the provider of this interface.
-
addRun
public void addRun(double xOn, double xOff, double y)
Add a run of black pixels to the bitmap.- Specified by:
addRun
in interfaceBitmapConsumer
-
endBitmap
public void endBitmap()
End of a bitmap.- Specified by:
endBitmap
in interfaceBitmapConsumer
-
-