mirror of https://github.com/axmolengine/axmol.git
remame BitMapTotalHeight to bitmapTotalHeight
This commit is contained in:
parent
371d4e646a
commit
5ff9bd0c9e
|
@ -64,11 +64,11 @@ public class Cocos2dxBitmap{
|
|||
|
||||
TextProperty textProperty = computeTextProperty(content, paint, width, height);
|
||||
|
||||
int BitMapTotalHeight = (height == 0 ? textProperty.totalHeight:height);
|
||||
int bitmapTotalHeight = (height == 0 ? textProperty.totalHeight:height);
|
||||
|
||||
// Draw text to bitmap
|
||||
Bitmap bitmap = Bitmap.createBitmap(textProperty.maxWidth,
|
||||
BitMapTotalHeight, Bitmap.Config.ARGB_8888);
|
||||
bitmapTotalHeight, Bitmap.Config.ARGB_8888);
|
||||
Canvas canvas = new Canvas(bitmap);
|
||||
|
||||
// Draw string
|
||||
|
|
|
@ -64,11 +64,11 @@ public class Cocos2dxBitmap{
|
|||
|
||||
TextProperty textProperty = computeTextProperty(content, paint, width, height);
|
||||
|
||||
int BitMapTotalHeight = (height == 0 ? textProperty.totalHeight:height);
|
||||
int bitmapTotalHeight = (height == 0 ? textProperty.totalHeight:height);
|
||||
|
||||
// Draw text to bitmap
|
||||
Bitmap bitmap = Bitmap.createBitmap(textProperty.maxWidth,
|
||||
BitMapTotalHeight, Bitmap.Config.ARGB_8888);
|
||||
bitmapTotalHeight, Bitmap.Config.ARGB_8888);
|
||||
Canvas canvas = new Canvas(bitmap);
|
||||
|
||||
// Draw string
|
||||
|
|
|
@ -64,11 +64,11 @@ public class Cocos2dxBitmap{
|
|||
|
||||
TextProperty textProperty = computeTextProperty(content, paint, width, height);
|
||||
|
||||
int BitMapTotalHeight = (height == 0 ? textProperty.totalHeight:height);
|
||||
int bitmapTotalHeight = (height == 0 ? textProperty.totalHeight:height);
|
||||
|
||||
// Draw text to bitmap
|
||||
Bitmap bitmap = Bitmap.createBitmap(textProperty.maxWidth,
|
||||
BitMapTotalHeight, Bitmap.Config.ARGB_8888);
|
||||
bitmapTotalHeight, Bitmap.Config.ARGB_8888);
|
||||
Canvas canvas = new Canvas(bitmap);
|
||||
|
||||
// Draw string
|
||||
|
|
Loading…
Reference in New Issue