com.stimulsoft.report.infographics.gauge.primitives.scalebargeometry
Class StiLinearBarGeometry

java.lang.Object
  extended by com.stimulsoft.report.infographics.gauge.primitives.scalebargeometry.StiLinearBarGeometry
All Implemented Interfaces:
IStiScaleBarGeometry

public class StiLinearBarGeometry
extends java.lang.Object
implements IStiScaleBarGeometry

Copyright Stimulsoft


Constructor Summary
StiLinearBarGeometry(StiLinearScale scale)
           
 
Method Summary
 void checkRectGeometry(StiRectangle rect)
           
 StiGraphicsPathLinesGaugeGeom drawGeometry(StiGaugeContextPainter context, double StartValue, double EndValue, double StartWidth, double EndWidth, double Offset, StiPlacement Placement, StiRefObject<StiRectangle> rect, boolean returnOnlyRect)
           
 StiGraphicsPathLinesGaugeGeom drawPrimitiveGeometry(StiGaugeContextPainter context, StiRectangle rect, double minAscent, double maxAscent, double StartWidth, double EndWidth, StiPlacement Placement, double restOffset, boolean isStartGreaterEnd)
           
 void drawScaleGeometry(StiGaugeContextPainter context)
           
 StiPoint getCenter()
           
 double getDiameter()
           
 double getRadius()
           
 StiRectangle getRectGeometry()
           
 double getRestToLenght()
           
 StiSize getSize()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiLinearBarGeometry

public StiLinearBarGeometry(StiLinearScale scale)
Method Detail

getSize

public StiSize getSize()
Specified by:
getSize in interface IStiScaleBarGeometry

getRectGeometry

public StiRectangle getRectGeometry()
Specified by:
getRectGeometry in interface IStiScaleBarGeometry

getRadius

public double getRadius()
Specified by:
getRadius in interface IStiScaleBarGeometry

getDiameter

public double getDiameter()
Specified by:
getDiameter in interface IStiScaleBarGeometry

getCenter

public StiPoint getCenter()
Specified by:
getCenter in interface IStiScaleBarGeometry

checkRectGeometry

public void checkRectGeometry(StiRectangle rect)
Specified by:
checkRectGeometry in interface IStiScaleBarGeometry

getRestToLenght

public double getRestToLenght()
Specified by:
getRestToLenght in interface IStiScaleBarGeometry

drawScaleGeometry

public void drawScaleGeometry(StiGaugeContextPainter context)
Specified by:
drawScaleGeometry in interface IStiScaleBarGeometry

drawGeometry

public StiGraphicsPathLinesGaugeGeom drawGeometry(StiGaugeContextPainter context,
                                                  double StartValue,
                                                  double EndValue,
                                                  double StartWidth,
                                                  double EndWidth,
                                                  double Offset,
                                                  StiPlacement Placement,
                                                  StiRefObject<StiRectangle> rect,
                                                  boolean returnOnlyRect)
Specified by:
drawGeometry in interface IStiScaleBarGeometry

drawPrimitiveGeometry

public StiGraphicsPathLinesGaugeGeom drawPrimitiveGeometry(StiGaugeContextPainter context,
                                                           StiRectangle rect,
                                                           double minAscent,
                                                           double maxAscent,
                                                           double StartWidth,
                                                           double EndWidth,
                                                           StiPlacement Placement,
                                                           double restOffset,
                                                           boolean isStartGreaterEnd)