public class DXFViewport extends DXFEntity
block, color, colorRGB, doc, extrusion, flags, id, layerID, lineType, linetypeScaleFactor, lineWeight, modelSpace, thickness, transparency, visibile| Constructor and Description |
|---|
DXFViewport() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFrozenLayer(java.lang.String layerName) |
double |
calculateZoomXPFactor() |
double |
getAspectRatio() |
double |
getBackClippingPlane() |
Bounds |
getBounds() |
Point |
getCenterPoint() |
double |
getCircleZoom() |
double |
getFastZoom() |
double |
getFrontClippingPlane() |
java.util.Iterator |
getFrozenLayerIterator() |
Point |
getGridSpacingPoint() |
double |
getHeight() |
double |
getLength()
Returns the length of the entity or 0 if the entity has no length
|
double |
getLensLength() |
Point |
getLowerLeftCorner() |
Bounds |
getModelspaceViewBounds() |
java.lang.String |
getPlotStyleName() |
double |
getRatio() |
int |
getRenderMode() |
double |
getSnapAngle() |
Point |
getSnapBasePoint() |
Point |
getSnapSpacingPoint() |
double |
getTwistAngle() |
java.lang.String |
getType() |
double |
getUcsElevation() |
Vector |
getUcsOrigin() |
int |
getUcsType() |
Vector |
getUcsXAxis() |
Vector |
getUcsYAxis() |
Point |
getUpperRightCorner() |
Point |
getViewCenterPoint() |
Vector |
getViewDirectionVector() |
double |
getViewHeight() |
java.lang.String |
getViewportID() |
int |
getViewportStatus() |
Point |
getViewTargetPoint() |
double |
getWidth() |
double |
getZoomXPFactor() |
boolean |
isActive() |
boolean |
isFrozenLayer(java.lang.String layerName) |
boolean |
isGrid() |
boolean |
isSnap() |
boolean |
isUseUCS() |
void |
setActive(boolean active) |
void |
setAspectRatio(double ratio) |
void |
setBackClippingPlane(double backClippingPlane) |
void |
setCenterPoint(Point centerPoint) |
void |
setCircleZoom(double circleZoom) |
void |
setFastZoom(double fastZoom) |
void |
setFrontClippingPlane(double frontClippingPlane) |
void |
setGrid(boolean grid) |
void |
setGridSpacingPoint(Point gridSpacingPoint) |
void |
setHeight(double height) |
void |
setLensLength(double lensLength) |
void |
setLowerLeftCorner(Point lowerLeftCorner) |
void |
setPlotStyleName(java.lang.String plotStyleName) |
void |
setRatio(double ratio) |
void |
setRenderMode(int renderMode) |
void |
setSnap(boolean snap) |
void |
setSnapAngle(double snapAngle) |
void |
setSnapBasePoint(Point snapBasePoint) |
void |
setSnapSpacingPoint(Point snapSpacingPoint) |
void |
setTwistAngle(double rotationAngle) |
void |
setUcsElevation(double ucsElevation) |
void |
setUcsOrigin(Vector ucsOrigin) |
void |
setUcsType(int ucsType) |
void |
setUcsXAxis(Vector ucsXAxis) |
void |
setUcsYAxis(Vector ucsYAxis) |
void |
setUpperRightCorner(Point upperRightCorner) |
void |
setUseUCS(boolean useUCS) |
void |
setViewCenterPoint(Point viewTargetPoint) |
void |
setViewDirectionVector(Vector viewDirectionPoint) |
void |
setViewHeight(double viewHeight) |
void |
setViewportID(java.lang.String name) |
void |
setViewportStatus(int viewportStatus) |
void |
setViewTargetPoint(Point viewTargetPoint) |
void |
setWidth(double width) |
getColor, getColorRGB, getDXFDocument, getExtrusion, getFlags, getID, getLayerName, getLineType, getLinetypeScaleFactor, getLineWeight, getThickness, getTransparency, isBlockEntity, isModelSpace, isOmitLineType, isVisibile, setBlockEntity, setColor, setColorRGB, setDXFDocument, setExtrusion, setExtrusionX, setExtrusionY, setExtrusionZ, setFlags, setID, setLayerName, setLineType, setLinetypeScaleFactor, setLineWeight, setModelSpace, setThickness, setTransparency, setVisibilepublic double getBackClippingPlane()
public void setBackClippingPlane(double backClippingPlane)
backClippingPlane - The backClippingPlane to set.public Point getCenterPoint()
public void setCenterPoint(Point centerPoint)
centerPoint - The centerPoint to set.public double getCircleZoom()
public void setCircleZoom(double circleZoom)
circleZoom - The circleZoom to set.public double getFastZoom()
public void setFastZoom(double fastZoom)
fastZoom - The fastZoom to set.public double getFrontClippingPlane()
public void setFrontClippingPlane(double frontClippingPlane)
frontClippingPlane - The frontClippingPlane to set.public boolean isGrid()
public void setGrid(boolean grid)
grid - The grid to set.public Point getGridSpacingPoint()
public void setGridSpacingPoint(Point gridSpacingPoint)
gridSpacingPoint - The gridSpacingPoint to set.public double getHeight()
public void setHeight(double height)
height - The height to set.public double getLensLength()
public void setLensLength(double lensLength)
lensLength - The lensLength to set.public Point getLowerLeftCorner()
public void setLowerLeftCorner(Point lowerLeftCorner)
lowerLeftCorner - The lowerLeftCorner to set.public java.lang.String getViewportID()
public void setViewportID(java.lang.String name)
name - The name to set.public double getAspectRatio()
public void setAspectRatio(double ratio)
ratio - The ratio to set.public void setTwistAngle(double rotationAngle)
rotationAngle - The rotationAngle to set.public boolean isSnap()
public void setSnap(boolean snap)
snap - The snap to set.public Point getSnapBasePoint()
public void setSnapBasePoint(Point snapBasePoint)
snapBasePoint - The snapBasePoint to set.public Point getUpperRightCorner()
public void setUpperRightCorner(Point upperRightCorner)
upperRightCorner - The upperRightCorner to set.public Vector getViewDirectionVector()
public void setViewDirectionVector(Vector viewDirectionPoint)
viewDirectionPoint - The viewDirectionPoint to set.public Point getViewCenterPoint()
public void setViewCenterPoint(Point viewTargetPoint)
viewTargetPoint - The viewTargetPoint to set.public boolean isActive()
public void setActive(boolean active)
active - The active to set.public double getLength()
DXFEntitypublic double getWidth()
public void setWidth(double width)
public void setRenderMode(int renderMode)
public double getViewHeight()
public void setViewHeight(double viewHeight)
public Vector getUcsOrigin()
public void setUcsOrigin(Vector ucsOrigin)
public Vector getUcsXAxis()
public void setUcsXAxis(Vector ucsXAxis)
public Vector getUcsYAxis()
public void setUcsYAxis(Vector ucsYAxis)
public int getUcsType()
public void setUcsType(int ucsType)
public double getUcsElevation()
public void setUcsElevation(double ucsElevation)
public boolean isUseUCS()
public void setUseUCS(boolean useUCS)
public double getRatio()
public void setRatio(double ratio)
public int getRenderMode()
public double getSnapAngle()
public void setSnapAngle(double snapAngle)
public Point getViewTargetPoint()
public void setViewTargetPoint(Point viewTargetPoint)
public Point getSnapSpacingPoint()
public void setSnapSpacingPoint(Point snapSpacingPoint)
public java.lang.String getPlotStyleName()
public void setPlotStyleName(java.lang.String plotStyleName)
public int getViewportStatus()
public void setViewportStatus(int viewportStatus)
public double getTwistAngle()
public void addFrozenLayer(java.lang.String layerName)
public boolean isFrozenLayer(java.lang.String layerName)
public java.util.Iterator getFrozenLayerIterator()
public double getZoomXPFactor()
public double calculateZoomXPFactor()
public Bounds getModelspaceViewBounds()