001/* 002 * To change this template, choose Tools | Templates 003 * and open the template in the editor. 004 */ 005package armyc2.c5isr.web.render.utilities; 006 007//import java.awt.geom.Point2D; 008import armyc2.c5isr.graphics2d.Point2D; 009 010/** 011 * 012* 013 */ 014public class TextInfo { 015 private String _ModifierString = null; 016 private Point2D _ModifierStringPosition = null; 017 private double _ModifierStringAngle = 0; 018 019 public TextInfo() 020 { 021 022 } 023 //set this when returning text string. 024 public void setModifierString(String value) 025 { 026 _ModifierString = value; 027 } 028 029 public String getModifierString() 030 { 031 return _ModifierString; 032 } 033 034 //location to draw ModifierString. 035 public void setModifierStringPosition(Point2D value) 036 { 037 _ModifierStringPosition = value; 038 } 039 040 public Point2D getModifierStringPosition() 041 { 042 return _ModifierStringPosition; 043 } 044 045 //angle to draw ModifierString. 046 public void setModifierStringAngle(double value) 047 { 048 _ModifierStringAngle = value; 049 } 050 051 public double getModifierStringAngle() 052 { 053 return _ModifierStringAngle; 054 } 055}