public class TextLayerSettings.ScaleContext
extends java.lang.Object
Constructor and Description |
---|
ScaleContext(android.graphics.Rect rect) |
Modifier and Type | Method and Description |
---|---|
float |
getStickerAngle() |
float |
getStickerTextSize() |
float |
getStickerWidth() |
float |
getStickerX() |
float |
getStickerY() |
boolean |
isHorizontalMirrored() |
void |
setStickerPosition(float relativeX,
float relativeY,
float angle,
float relativeTextSize) |
void |
setStickerPosition(float relativeX,
float relativeY,
float angle,
float relativeTextSize,
float relativeWidth) |
void |
setWidth(float relativeWidth) |
public float getStickerAngle()
public float getStickerTextSize()
public float getStickerWidth()
public float getStickerX()
public float getStickerY()
public boolean isHorizontalMirrored()
public void setStickerPosition(float relativeX, float relativeY, float angle, float relativeTextSize)
public void setStickerPosition(float relativeX, float relativeY, float angle, float relativeTextSize, float relativeWidth)
public void setWidth(float relativeWidth)