public class OMEROText extends Object implements OMERORealMaskRealInterval<TextData>
TextData as a RealMaskRealInterval.
Technically text is not considered a ROI. This wrapper is only here to
facilitate conversions between OMERO and ImageJ 1.x. As such it throw an
UnsupportedOperationException for most RealMaskRealInterval
methods. It should NOT be used for other purposes!
| Modifier and Type | Method and Description |
|---|---|
RealMaskRealInterval |
and(Predicate<? super RealLocalizable> other) |
BoundaryType |
boundaryType() |
TextData |
getShape() |
String |
getText() |
double |
getX()
Returns the x coordinate of the lower left corner of the text.
|
double |
getY()
Returns the y coordinate of the lower left corner of the text.
|
KnownConstant |
knownConstant() |
RealMaskRealInterval |
minus(Predicate<? super RealLocalizable> other) |
RealMaskRealInterval |
negate() |
int |
numDimensions() |
RealMask |
or(Predicate<? super RealLocalizable> other) |
RealMaskRealInterval |
or(RealMaskRealInterval other) |
double |
realMax(int d) |
double |
realMin(int d) |
void |
setText(String text) |
void |
setX(double x)
Sets the x coordinate of where the text starts.
|
void |
setY(double y)
Sets the y coordinate of the base of where the text
starts.
|
boolean |
test(RealLocalizable t) |
RealMaskRealInterval |
transform(AffineGet transformToSource) |
RealMask |
transform(RealTransform transformToSource) |
RealMask |
xor(Predicate<? super RealLocalizable> other) |
RealMaskRealInterval |
xor(RealMaskRealInterval other) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittestPositionrequiredAxisTypesisEmpty, realMax, realMax, realMin, realMinequals, isAll, maskTypemaxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPointpublic OMEROText(TextData text)
public String getText()
public double getX()
public double getY()
public void setText(String text)
public void setX(double x)
public void setY(double y)
public TextData getShape()
getShape in interface OMERORealMask<TextData>public RealMaskRealInterval and(Predicate<? super RealLocalizable> other)
Always throws an UnsupportedOperationException. Text is not
technically a ROI.
and in interface Predicate<RealLocalizable>and in interface MaskPredicate<RealLocalizable>and in interface RealMaskand in interface RealMaskRealIntervalpublic RealMaskRealInterval or(RealMaskRealInterval other)
Always throws an UnsupportedOperationException. Text is not
technically a ROI.
or in interface RealMaskRealIntervalpublic RealMaskRealInterval negate()
Always throws an UnsupportedOperationException. Text is not
technically a ROI.
negate in interface Predicate<RealLocalizable>negate in interface MaskPredicate<RealLocalizable>negate in interface RealMaskpublic RealMaskRealInterval minus(Predicate<? super RealLocalizable> other)
Always throws an UnsupportedOperationException. Text is not
technically a ROI.
minus in interface MaskPredicate<RealLocalizable>minus in interface RealMaskminus in interface RealMaskRealIntervalpublic RealMaskRealInterval xor(RealMaskRealInterval other)
Always throws an UnsupportedOperationException. Text is not
technically a ROI.
xor in interface RealMaskRealIntervalpublic RealMaskRealInterval transform(AffineGet transformToSource)
Always throws an UnsupportedOperationException. Text is not
technically a ROI.
transform in interface RealMaskRealIntervalpublic double realMin(int d)
Always throws an UnsupportedOperationException. Text is not
technically a ROI.
realMin in interface RealIntervalpublic double realMax(int d)
Always throws an UnsupportedOperationException. Text is not
technically a ROI.
realMax in interface RealIntervalpublic RealMask or(Predicate<? super RealLocalizable> other)
Always throws an UnsupportedOperationException. Text is not
technically a ROI.
or in interface Predicate<RealLocalizable>or in interface MaskPredicate<RealLocalizable>or in interface RealMaskpublic RealMask xor(Predicate<? super RealLocalizable> other)
Always throws an UnsupportedOperationException. Text is not
technically a ROI.
xor in interface MaskPredicate<RealLocalizable>xor in interface RealMaskpublic RealMask transform(RealTransform transformToSource)
Always throws an UnsupportedOperationException. Text is not
technically a ROI.
public BoundaryType boundaryType()
This does not throw an UnsupportedOperationException as it is
needed for the conversions.
boundaryType in interface MaskPredicate<RealLocalizable>public KnownConstant knownConstant()
Always throws an UnsupportedOperationException. Text is not
technically a ROI.
knownConstant in interface MaskPredicate<RealLocalizable>public boolean test(RealLocalizable t)
Always throws an UnsupportedOperationException. Text is not
technically a ROI.
test in interface Predicate<RealLocalizable>public int numDimensions()
This does not throw an UnsupportedOperationException as it is
needed for the conversions.
numDimensions in interface EuclideanSpaceCopyright © 2014–2022 ImageJ. All rights reserved.