## org.autoplot.dom.Annotation

Annotations for annotating the canvas.

## Annotation( )

## PROP_TEXT

## PROP_URL

## PROP_SCALE

## PROP_FONTSIZE

## PROP_BORDERTYPE

## PROP_ANCHORPOSITION

## PROP_XRANGE

## PROP_YRANGE

## PROP_POINTATX

## PROP_POINTATY

## PROP_POINTATOFFSET

## PROP_SHOWARROW

## PROP_ANCHORTYPE

## PROP_SPLITANCHORTYPE

## PROP_VERTICALANCHORTYPE

## PROP_ANCHOROFFSET

## PROP_GLOW

## PROP_PLOTID

## PROP_ANCHORBORDERTYPE

## PROP_OVERRIDECOLORS

## PROP_TEXTCOLOR

## PROP_FOREGROUND

## PROP_BACKGROUND

## PROP_ROWID

## PROP_COLUMNID

copy( ) → org.autoplot.dom.DomNode [view source]
diffs( org.autoplot.dom.DomNode node ) → java.util.List [view source]
getAnchorBorderType( ) → org.das2.graph.BorderType [view source]
getAnchorOffset( ) → String [view source]
getAnchorPosition( ) → org.das2.graph.AnchorPosition [view source]
getAnchorType( ) → org.das2.graph.AnchorType [view source]
getBackground( ) → java.awt.Color [view source]
getBorderType( ) → org.das2.graph.BorderType [view source]
getColumnId( ) → String [view source]
getController( ) → org.autoplot.dom.AnnotationController [view source]
getFontSize( ) → String [view source]
getForeground( ) → java.awt.Color [view source]
getPlotId( ) → String [view source]

## getPointAtOffset

getPointAtOffset( ) → String

return the offset from the thing we point at, if any. For example, "1em" means back off 1em from the target.

### Returns:

a String
[search for examples] [view on GitHub] [view on old javadoc] [view source]
getPointAtX( ) → Datum [view source]
getPointAtY( ) → Datum [view source]
getRowId( ) → String [view source]
getScale( ) → double [view source]
getText( ) → String [view source]
getTextColor( ) → java.awt.Color [view source]
getUrl( ) → String [view source]
getVerticalAnchorType( ) → org.das2.graph.AnchorType [view source]
getXrange( ) → DatumRange [view source]
getYrange( ) → DatumRange [view source]
isGlow( ) → boolean [view source]
isOverrideColors( ) → boolean [view source]
isShowArrow( ) → boolean [view source]
isSplitAnchorType( ) → boolean [view source]
setAnchorBorderType( org.das2.graph.BorderType anchorBorderType ) → void [view source]
setAnchorOffset( String anchorOffset ) → void [view source]
setAnchorPosition( org.das2.graph.AnchorPosition anchorPosition ) → void [view source]
setAnchorType( org.das2.graph.AnchorType anchorType ) → void [view source]
setBackground( java.awt.Color background ) → void [view source]
setBorderType( org.das2.graph.BorderType borderType ) → void [view source]
setColumnId( String columnId ) → void [view source]
setFontSize( String fontSize ) → void [view source]
setForeground( java.awt.Color foreground ) → void [view source]
setGlow( boolean glow ) → void [view source]
setOverrideColors( boolean overrideColors ) → void [view source]
setPlotId( String plotId ) → void [view source]
setPointAtOffset( String pointAtOffset ) → void [view source]
setPointAtX( Datum pointAtX ) → void [view source]
setPointAtY( Datum pointAtY ) → void [view source]
setRowId( String rowId ) → void [view source]

## setScale

setScale( double scale ) → void

set the amount to scale the image by, if using URL to point at an image, where 0.5 is half of the original image size.

### Parameters

scale - a double

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]
setShowArrow( boolean showArrow ) → void [view source]
setSplitAnchorType( boolean splitAnchorType ) → void [view source]
setText( String text ) → void [view source]

## setTextColor

setTextColor( java.awt.Color textColor ) → void

the color of the text, or if transparent then the border color should be used.

### Parameters

textColor - a Color

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]
setUrl( String url ) → void [view source]
setVerticalAnchorType( org.das2.graph.AnchorType verticalAnchorType ) → void [view source]
setXrange( DatumRange xrange ) → void [view source]
setYrange( DatumRange yrange ) → void [view source]
syncTo( org.autoplot.dom.DomNode n ) → void [view source]
syncTo( org.autoplot.dom.DomNode n, java.util.List exclude ) → void [view source]
toString( ) → String [view source]