public interface Mask extends Shape, Rectangular
| Modifier and Type | Method and Description |
|---|---|
MaskData |
asDataObject()
Returns an
MaskData corresponding to the handled object. |
byte[] |
getMask()
Returns the mask as a byte array.
|
int[][] |
getMaskAsBinaryArray()
Returns the mask image.
|
void |
setMask(boolean[][] mask)
Sets the mask
|
void |
setMask(byte[] mask)
Sets the mask image.
|
void |
setMask(int[][] mask)
Sets the mask
|
default Shape |
toAWTShape()
Converts the shape to an
Shape. |
createTransformedAWTShape, getBoundingBox, getC, getCZT, getFill, getFontSize, getStroke, getT, getText, getZ, link, setC, setCZT, setFill, setFontSize, setStroke, setT, setText, 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, saveAndUpdategetCoordinates, getHeight, getWidth, getX, getY, setCoordinates, setCoordinates, setHeight, setWidth, setX, setYMaskData asDataObject()
MaskData corresponding to the handled object.asDataObject in interface RemoteObjectasDataObject in interface Shapedefault Shape toAWTShape()
Shape.toAWTShape in interface Shapeint[][] getMaskAsBinaryArray()
byte[] getMask()
void setMask(byte[] mask)
mask - See above.void setMask(int[][] mask)
mask - The binary mask (int[width][height])void setMask(boolean[][] mask)
mask - The binary mask (boolean[width][height])Copyright © 2020–2023 GReD. All rights reserved.