Package com.luciad.format.mif
Class TLcdMIFRegion
java.lang.Object
com.luciad.shape.ALcdShape
com.luciad.shape.ALcdShapeList
com.luciad.shape.TLcdShapeList
com.luciad.shape.TLcdFeaturedShapeList
com.luciad.format.mif.TLcdMIFRegion
- All Implemented Interfaces:
ILcdDataObject
,ILcdMIFShape
,ILcdBounded
,ILcdEditableShapeList
,ILcdShape
,ILcdShapeList
,ILcdCache
,ILcdCloneable
,ILcdFeatured
,ILcdInvalidateable
,Serializable
,Cloneable
This
ILcdMIFShape
represents MIF region objects like REGION,
RECT, ROUNDRECT, and ELLIPSE.- See Also:
-
Field Summary
Fields inherited from interface com.luciad.format.mif.ILcdMIFShape
ARC, COLLECTION, ELLIPSE, LINE, MULTIPOINT, NONE, PLINE, POINT, RECT, REGION, ROUNDRECT, TEXT
-
Constructor Summary
ConstructorDescriptionTLcdMIFRegion
(short aMIFType, TLcdLineStyle aLineStyle, TLcdFillStyle aFillStyle) Creates a new TLcdMIFRegion object with the given type, line style, and fill style.TLcdMIFRegion
(TLcdLineStyle aLineStyle, TLcdFillStyle aFillStyle) Creates a new TLcdMIFRegion object with the given line style and fill style. -
Method Summary
Modifier and TypeMethodDescriptionReturns the fill style of this region.Returns the line style of this region's edges.short
Returns the MIF type of this shape.void
setFillStyle
(TLcdFillStyle aFillStyle) Sets the fill style of this region.void
setLineStyle
(TLcdLineStyle aLineStyle) Sets the line style of this region's edges.Methods inherited from class com.luciad.shape.TLcdFeaturedShapeList
canSetFeature, clone, equals, getDataType, getDefaultDisplayNameIndex, getDisplayName, getFeature, getFeatureCount, getFeatures, getValue, getValue, hashCode, hasValue, hasValue, setDefaultDisplayNameIndex, setFeature, setFeatures, setValue, setValue, toString
Methods inherited from class com.luciad.shape.TLcdShapeList
addShape, addShape, addShapes, clearShapes, getShape, getShapeCount, removeShape, removeShape, removeShapes, setShape, setShape, setShapes, shapeChanged, shapeChanged, shapesChanged
Methods inherited from class com.luciad.shape.ALcdShapeList
calculateFocusPoint, clearCache, contains2D, contains3D, getBounds, getCachedObject, getFocusPoint, insertIntoCache, invalidateBounds, invalidateObject, removeCachedObject, setFocusPoint
Methods inherited from class com.luciad.shape.ALcdShape
contains2D, contains3D, fromDomainObject
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.luciad.shape.ILcdBounded
getBounds
Methods inherited from interface com.luciad.util.ILcdCloneable
clone
Methods inherited from interface com.luciad.datamodel.ILcdDataObject
getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue
Methods inherited from interface com.luciad.util.ILcdFeatured
canSetFeature, getFeature, getFeatureCount, setFeature
Methods inherited from interface com.luciad.shape.ILcdShape
contains2D, contains2D, contains3D, contains3D, getFocusPoint
-
Constructor Details
-
TLcdMIFRegion
Creates a new TLcdMIFRegion object with the given line style and fill style. Its type isREGION
.- Parameters:
aLineStyle
- the line style of this region's edges.aFillStyle
- the fill style of this region.
-
TLcdMIFRegion
Creates a new TLcdMIFRegion object with the given type, line style, and fill style.- Parameters:
aMIFType
- one ofREGION
,RECT
,ROUNDRECT
, orELLIPSE
.aLineStyle
- the line style of this region's edges.aFillStyle
- the fill style of this region.
-
-
Method Details
-
setLineStyle
Sets the line style of this region's edges.- See Also:
-
getLineStyle
Returns the line style of this region's edges.- See Also:
-
setFillStyle
Sets the fill style of this region.- See Also:
-
getFillStyle
Returns the fill style of this region.- See Also:
-
getMIFType
public short getMIFType()Description copied from interface:ILcdMIFShape
Returns the MIF type of this shape.- Specified by:
getMIFType
in interfaceILcdMIFShape
- Returns:
- one of
REGION
,RECT
,ROUNDRECT
, orELLIPSE
.
-