Interface BoundingRectangle.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
BoundingRectangle.SimpleHolder,HPGLDocumentSequence.Item
- Enclosing class:
- BoundingRectangle
public static interface BoundingRectangle.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Bounding Rectangle" (seeBoundingRectangle)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classBoundingRectangle.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static BoundingRectangle.Holder.Builderbuilder()static BoundingRectangle.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsBoundingRectangle()default BoundingRectanglegetBoundingRectangle()default voidremoveBoundingRectangle()Removes the Bounding Rectangle (seeBoundingRectanglestatic BoundingRectangle.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static BoundingRectangle.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Bounding Rectangle (seeBoundingRectangle)- Returns:
- a wrapper object implementing the
BoundingRectangle.Holderinterface.
-
builder
static BoundingRectangle.Holder.Builder builder()
- Returns:
- a
BoundingRectangle.Holder.Builderto create Bounding Rectangle Items with a fluent API.
-
builder
static BoundingRectangle.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theBoundingRectangle.Holder.Builder.- Returns:
- a
BoundingRectangle.Holder.Builderto create Bounding Rectangle Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getBoundingRectangle
default BoundingRectangle getBoundingRectangle()
- Returns:
- the Bounding Rectangle (see
BoundingRectangle)
-
containsBoundingRectangle
default boolean containsBoundingRectangle()
- Returns:
- whether it contains the Bounding Rectangle (see
BoundingRectangle)
-
removeBoundingRectangle
default void removeBoundingRectangle()
Removes the Bounding Rectangle (seeBoundingRectangle
-
-