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
ConstructorsConstructorDescriptionTLcdMIFRegion(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.shortReturns the MIF type of this shape.voidsetFillStyle(TLcdFillStyle aFillStyle) Sets the fill style of this region.voidsetLineStyle(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, toStringMethods inherited from class com.luciad.shape.TLcdShapeList
addShape, addShape, addShapes, clearShapes, getShape, getShapeCount, removeShape, removeShape, removeShapes, setShape, setShape, setShapes, shapeChanged, shapeChanged, shapesChangedMethods inherited from class com.luciad.shape.ALcdShapeList
calculateFocusPoint, clearCache, contains2D, contains3D, getBounds, getCachedObject, getFocusPoint, insertIntoCache, invalidateBounds, invalidateObject, removeCachedObject, setFocusPointMethods inherited from class com.luciad.shape.ALcdShape
contains2D, contains3D, fromDomainObjectMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.luciad.shape.ILcdBounded
getBoundsMethods inherited from interface com.luciad.util.ILcdCloneable
cloneMethods inherited from interface com.luciad.datamodel.ILcdDataObject
getDataType, getValue, getValue, hasValue, hasValue, setValue, setValueMethods inherited from interface com.luciad.util.ILcdFeatured
canSetFeature, getFeature, getFeatureCount, setFeatureMethods 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:ILcdMIFShapeReturns the MIF type of this shape.- Specified by:
getMIFTypein interfaceILcdMIFShape- Returns:
- one of
REGION,RECT,ROUNDRECT, orELLIPSE.
-