Package com.positive.charts.util

Examples of com.positive.charts.util.TextBlockAnchor


  protected void drawHorizontal(final GC g2, final Rectangle area) {
    final Rectangle titleArea = new Rectangle(area.x, area.y, area.width,
        area.height);
    g2.setFont(this.font);
    g2.setForeground(this.paint);
    TextBlockAnchor anchor = null;
    float x = 0.0f;
    final HorizontalAlignment horizontalAlignment = this
        .getHorizontalAlignment();
    if (horizontalAlignment == HorizontalAlignment.LEFT) {
      x = titleArea.x;
View Full Code Here


  protected void drawVertical(final GC g2, final Rectangle area) {
    final Rectangle titleArea = new Rectangle(area.x, area.y, area.width,
        area.height);
    g2.setFont(this.font);
    g2.setForeground(this.paint);
    TextBlockAnchor anchor = null;
    float y = 0.0f;
    final VerticalAlignment verticalAlignment = this.getVerticalAlignment();
    if (verticalAlignment == VerticalAlignment.TOP) {
      y = titleArea.y;
      anchor = TextBlockAnchor.TOP_RIGHT;
View Full Code Here

TOP

Related Classes of com.positive.charts.util.TextBlockAnchor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.