public class Artwork extends Technology
Technology.ArcLayer, Technology.ExtraField, Technology.MultiCutData, Technology.NodeLayer, Technology.SizeCorrector, Technology.TechPoint
Modifier and Type | Field and Description |
---|---|
PrimitiveNode |
arrowNode
Defines a Arrow node.
|
static Variable.Key |
ART_COLOR
key of Variable holding color information
|
static Variable.Key |
ART_DEGREES
Key of Variable holding starting and ending angles.
|
static Variable.Key |
ART_MESSAGE
key of Variable holding message text.
|
static Variable.Key |
ART_PATTERN
key of Variable holding color information
|
PrimitiveNode |
boxNode
Defines a Box node.
|
PrimitiveNode |
circleNode
Defines a Circle node.
|
PrimitiveNode |
closedPolygonNode
Defines a Closed-Polygon node.
|
PrimitiveNode |
crossedBoxNode
Defines a Crossed-Box node.
|
ArcProto |
dashedArc
Defines a Dashed arc.
|
Layer |
defaultLayer
the layer
|
ArcProto |
dottedArc
Defines a Dotted arc.
|
PrimitiveNode |
filledBoxNode
Defines a Filled-Box node.
|
PrimitiveNode |
filledCircleNode
Defines a Filled-Circle node.
|
PrimitiveNode |
filledPolygonNode
Defines a Filled-Polygon node.
|
PrimitiveNode |
filledTriangleNode
Defines a Filled-Triangle node.
|
PrimitiveNode |
openedDashedPolygonNode
Defines a Opened-Dashed-Polygon node.
|
PrimitiveNode |
openedDottedPolygonNode
Defines a Opened-Dotted-Polygon node.
|
PrimitiveNode |
openedPolygonNode
Defines a Opened-Polygon node.
|
PrimitiveNode |
openedThickerPolygonNode
Defines a Opened-Thicker-Polygon node.
|
PrimitiveNode |
pinNode
Defines a Pin node.
|
ArcProto |
solidArc
Defines a Solid arc.
|
PrimitiveNode |
splineNode
Defines a Spline node.
|
PrimitiveNode |
thickCircleNode
Defines a Thick-Circle node.
|
ArcProto |
thickerArc
Defines a Thick arc.
|
PrimitiveNode |
triangleNode
Defines a Triangle node.
|
cachedRules, DISK_VERSION_1, DISK_VERSION_2, EMPTY_LIST, factoryMenuPalette, factoryRules, foundries, N_TYPE, NULL_ARRAY, oldArcNames, oldNodeNames, P_TYPE, paramFoundry, paramNumMetalLayers, SPECIALMENUCELL, SPECIALMENUEXPORT, SPECIALMENUHIGH, SPECIALMENUMISC, SPECIALMENUPORT, SPECIALMENUPURE, SPECIALMENUSEPARATOR, SPECIALMENUSPICE, SPECIALMENUTEXT, TECH_NODE, techFactory, TRANS_CONTACT, xmlTech
Constructor and Description |
---|
Artwork(Generic generic,
TechFactory techFactory) |
Modifier and Type | Method and Description |
---|---|
static PolyBase.Point[] |
fillEllipse(java.awt.geom.Point2D center,
double sX,
double sY,
double startoffset,
double endangle)
Method to return an array of Point2D that describe an ellipse.
|
PolyBase.Point[] |
fillSpline(EPoint c,
EPoint[] tracePoints)
Method to convert the given spline control points into a spline curve.
|
static boolean |
isArtworkArc(ArcProto p)
Method to determ if ArcProto is an Artwork primitive arc
|
EGraphics |
makeGraphics(ElectricObject eObj)
Method to create an EGraphics for an ElectricObject with color and pattern Variables.
|
void |
setDefaultOutline(NodeInst ni)
Method to set default outline information on a NodeInst.
|
static Artwork |
tech()
the Artwork Technology object.
|
addArcProto, addLayer, addNodeProto, checkParamValues, cleanUnusedNodesInLibrary, compareTo, convertOldArcName, convertOldNodeName, convertOldPortName, convertOldVariable, dump, dumpExtraProjectSettings, findArcProto, findFoundry, findLayer, findLayerFromFunction, findNodeProto, findTechnology, findTechnology, getArc, getArcProto, getArcs, getArcsCollection, getCachedRules, getCMOS90Technology, getColorMap, getCurrent, getDiffAlpha, getDiffAlphaSetting, getExtraFields, getFactoryDesignRules, getFactoryMenuPalette, getFactoryResolution, getFactoryTransparentLayerColors, getFoundries, getGateCapacitance, getGateCapacitanceSetting, getGateIncludedSetting, getGateLengthSubtraction, getGateLengthSubtractionSetting, getGDSLayers, getGroundNetIncludedSetting, getId, getLayer, getLayerFromOverride, getLayers, getLayersPerGDSNumber, getLayersSortedByRule, getLayersSortedByUserPreference, getMaxSeriesResistance, getMaxSeriesResistanceSetting, getMetalContactCluster, getMinCapacitance, getMinCapacitanceSetting, getMinResistance, getMinResistanceSetting, getMocmosTechnology, getMultiCutData, getNodeInstBaseRectangle, getNodes, getNodesCollection, getNodesSortedByName, getNumArcs, getNumLayers, getNumMetals, getNumMetalsSetting, getNumNodes, getNumTransparentLayers, getOldArcNames, getOldNodeNames, getParamValues, getParamValuesByXmlPath, getPrefFoundry, getPrefFoundrySetting, getPrimitiveNode, getPrimNodeIndexInTech, getProjectSettings, getProjectSettingsRoot, getResistorSize, getRuleDifferences, getRuleIndex, getRuleNodeIndex, getScale, getScaleSetting, getScaleVariableName, getSelectedFoundry, getSetting, getSetting, getShapeOfArc, getShapeOfArc, getShapeOfNode, getShapeOfNode, getShapeOfPort, getSizeCorrector, getSpacingDistances, getSpiceHeaderLevel1, getSpiceHeaderLevel2, getSpiceHeaderLevel3, getTechDesc, getTechName, getTechnologies, getTechShortName, getTransistorActiveLength, getTransistorAltGatePort, getTransistorBasePort, getTransistorBiasPort, getTransistorCollectorPort, getTransistorDrainPort, getTransistorEmitterPort, getTransistorGatePort, getTransistorSize, getTransistorSourcePort, getTransparentLayerColors, getTSMC180Technology, getWireRatio, getWireRatioSetting, getXmlTech, hasColoredMetalLayer, hasPhotonics, initPreinstalledTechnologies, isEasyShape, isGateIncluded, isGroundNetIncluded, isLayout, isMultiCutCase, isMultiCutInTechnology, isNoDirectionalArcs, isNoNegatedArcs, isNonElectrical, isNonStandard, isNoPrimitiveNodes, isScaleRelevant, isSchematics, isStaticTechnology, isUniversalConnectivityPort, isValidVTPolyRule, isXmlTechAvailable, loadFactoryMenuPalette, makeBooleanSetting, makeColorMap, makeDoubleSetting, makeFactoryDesignRules, makeInitialEnvironment, makeIntSetting, makeStringSetting, makeXml, makeXml, newArcProto, newFoundry, newPrimitiveNode, parseComponentMenuXML, printlnBits, printlnSetting, sameLayer, setArcCorrection, setCachedRules, setColorMapFromLayers, setFactoryLESettings, setFactoryParasitics, setFactoryResolution, setFactoryScale, setFactoryTransparentLayers, setNodeCorrection, setNoDirectionalArcs, setNoNegatedArcs, setNonElectrical, setNonStandard, setNoPrimitiveNodes, setNotUsed, setPrimitiveNodeSize, setRuleVariables, setSpiceHeaderLevel1, setSpiceHeaderLevel2, setSpiceHeaderLevel3, setStaticTechnology, setTechDesc, setTechName, setTechShortName, setup, toString, whatTechnology, whatTechnology, withTechParams, writeReplace
public static final Variable.Key ART_DEGREES
public static final Variable.Key ART_MESSAGE
public static final Variable.Key ART_COLOR
public static final Variable.Key ART_PATTERN
public final PrimitiveNode pinNode
public final PrimitiveNode boxNode
public final PrimitiveNode crossedBoxNode
public final PrimitiveNode filledBoxNode
public final PrimitiveNode circleNode
public final PrimitiveNode filledCircleNode
public final PrimitiveNode splineNode
public final PrimitiveNode triangleNode
public final PrimitiveNode filledTriangleNode
public final PrimitiveNode arrowNode
public final PrimitiveNode openedPolygonNode
public final PrimitiveNode openedDottedPolygonNode
public final PrimitiveNode openedDashedPolygonNode
public final PrimitiveNode openedThickerPolygonNode
public final PrimitiveNode closedPolygonNode
public final PrimitiveNode filledPolygonNode
public final PrimitiveNode thickCircleNode
public final ArcProto solidArc
public final ArcProto dottedArc
public final ArcProto dashedArc
public final ArcProto thickerArc
public final Layer defaultLayer
public Artwork(Generic generic, TechFactory techFactory)
public static Artwork tech()
public static PolyBase.Point[] fillEllipse(java.awt.geom.Point2D center, double sX, double sY, double startoffset, double endangle)
center
- the center coordinate of the ellipse.sX
- the X size of the ellipse.sY
- the Y size of the ellipse.startoffset
- the starting angle of the ellipse, in radians.endangle
- the ending angle of the ellipse, in radians.
If both startoffset and endangle are zero, draw the full ellipse.public void setDefaultOutline(NodeInst ni)
setDefaultOutline
in class Technology
ni
- the NodeInst to load with default outline information.public PolyBase.Point[] fillSpline(EPoint c, EPoint[] tracePoints)
c
- the center of the spline.tracePoints
- the array of control point values, alternating X/Y/X/Y.public EGraphics makeGraphics(ElectricObject eObj)
eObj
- the ElectricObject with graphics specifications.public static boolean isArtworkArc(ArcProto p)
p
- ArcProto reference