public class PolylineWrapper extends ShapeWrapper<PolylineData> implements Polyline
Wraps function calls to the PolylineData contained.
ANNOTATION_LINKdata| Constructor and Description |
|---|
PolylineWrapper()
Constructor of the RectangleWrapper class using a new empty LineData.
|
PolylineWrapper(List<Point2D.Double> points)
Constructor of the RectangleWrapper class using a new LineData.
|
PolylineWrapper(PolylineData polyline)
Constructor of the PolylineWrapper class using a PolylineData.
|
PolylineWrapper(Roi ijRoi)
Constructor of the PolylineWrapper class using an ImageJ PolygonRoi.
|
| Modifier and Type | Method and Description |
|---|---|
List<Point2D.Double> |
getPoints()
Returns the points in the Polyline.
|
String |
getText()
Gets the text on the ShapeData.
|
void |
setPoints(List<Point2D.Double> points)
Sets the points in the polyline.
|
void |
setText(String text)
Sets the text on the ShapeData.
|
annotationLinkType, copyFromIJRoi, copyToIJRoi, getBoundingBox, getC, getFill, getFontSize, getStroke, getT, getZ, setC, setFill, setFontSize, setStroke, setT, setTransform, setZ, toAWTTransform, toImageJaddAndReplaceFile, addAndReplaceTable, addKeyValuePair, addTag, addTag, getAnnotations, getFileAnnotations, getMapAnnotations, getMyRating, getTable, getTags, rate, removeLink, unlinkasDataObject, canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, getCreated, getGroupId, getId, getOwner, getUpdated, saveAndUpdate, toString, wrap, wrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasDataObject, toAWTShapecreateTransformedAWTShape, getBoundingBox, getC, getCZT, getFill, getFontSize, getStroke, getT, getZ, link, setC, setCZT, setFill, setFontSize, setStroke, setT, setTransform, setTransform, setZ, toAWTTransform, toImageJaddAndReplaceFile, addAndReplaceFile, addAndReplaceTable, addAndReplaceTable, addFile, addKeyValuePair, addTable, addTag, addTag, addTags, copyAnnotationLinks, getAnnotationData, getAnnotations, getFileAnnotations, getKeyValuePairs, getMapAnnotations, getMyRating, getTable, getTables, getTags, getValues, isLinked, link, link, linkIfNotLinked, rate, unlinkcanAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, distinct, flatten, getCreated, getElementsOf, getGroupId, getId, getOwner, getUpdated, saveAndUpdatepublic PolylineWrapper(PolylineData polyline)
polyline - The PolylineData to wrap.public PolylineWrapper()
public PolylineWrapper(Roi ijRoi)
ijRoi - An ImageJ ROI.public PolylineWrapper(List<Point2D.Double> points)
points - the points in the polyline.public String getText()
public void setText(String text)
public List<Point2D.Double> getPoints()
public void setPoints(List<Point2D.Double> points)
Copyright © 2020–2023 GReD. All rights reserved.