Code example for TextPaint

Methods: descent, getTextSize

0
	} 
	 
	public void setLinebreak() { 
		linebreak = new Point();
    	this.linebreak.x = (int)this.left;
    	this.linebreak.y = (int)this.topLeftAlign+((int)paint.getTextSize()+(int)paint.descent());
//    	this.linebreak.y = (int)this.topLeftAlign+((int)paint.getTextSize()+(int)paint.descent())*this.lineReturn; 
   	} 
	 
	public int getLinebreakY(int multiplier) {
		int linebreakY = (int)this.topLeftAlign+((int)paint.getTextSize()+(int)paint.descent())*multiplier;
		return linebreakY;
	} 
	 
	private void setTopLeftAlign() { 
		this.topLeftAlign = this.top + paint.getTextSize()+paint.descent(); 
	} 
	 
	 
	public int getY() { 
		return this.centerY;