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 voidaddRun(double xOn, double xOff, double y)Add a run of black pixels to the bitmap.voidendBitmap()End of a bitmap.voidstartBitmap(int n)Called at the beginning of a bitmap.
-
-
-
Method Detail
-
startBitmap
public void startBitmap(int n)
Description copied from interface:BitmapConsumerCalled at the beginning of a bitmap.- Specified by:
startBitmapin 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:
addRunin interfaceBitmapConsumer
-
endBitmap
public void endBitmap()
End of a bitmap.- Specified by:
endBitmapin interfaceBitmapConsumer
-
-