Members
-
attachedNetName :string
-
Type:
- string
- Inherited From:
-
(non-null) ctx_ :up.api.Context
-
@private
Type:
- up.api.Context
- Inherited From:
-
holeDiameter :number
-
Type:
- number
-
holeSize :up.api.core.Point
-
Size of the hole in nanometers.
Type:
-
isFootprint :boolean
-
Type:
- boolean
- Inherited From:
-
isPadstack :boolean
-
Type:
- boolean
- Inherited From:
-
isPlatedThroughHole :boolean
-
Type:
- boolean
-
isPour :boolean
-
Type:
- boolean
- Inherited From:
-
isTrace :boolean
-
Type:
- boolean
- Inherited From:
-
isVia :boolean
-
Type:
- boolean
- Inherited From:
-
(non-null) layers :Array.<up.api.pcb.Layer>
-
Type:
- Array.<up.api.pcb.Layer>
- Inherited From:
-
(non-null) nets :Array.<up.api.core.Net>
-
Type:
- Array.<up.api.core.Net>
- Inherited From:
-
(non-null) obj_ :up.design.pcb.Pour|up.design.pcb.TraceSegment|up.design.pcb.Path|up.genObj.GeneratedObject|up.design.pcb.LayoutElementBody|up.pcb.Flood
-
@private
Type:
- up.design.pcb.Pour | up.design.pcb.TraceSegment | up.design.pcb.Path | up.genObj.GeneratedObject | up.design.pcb.LayoutElementBody | up.pcb.Flood
- Inherited From:
-
(non-null) position :up.api.core.Point
-
Position, in nanometers.
Type:
- Inherited From:
-
rotation :number
-
Type:
- number
- Inherited From:
-
shape :string
-
Type:
- string
Methods
-
closeCheckAndCall(toCall) → {function}
-
Parameters:
Name Type Description toCall
function - Inherited From:
Returns:
- Type
- function
-
defineGetAndSetFunctions(propertyName, getFunction, setFunction)
-
Parameters:
Name Type Description propertyName
string getFunction
function setFunction
function - Inherited From:
-
defineGetFunction(propertyName, getFunction)
-
Parameters:
Name Type Description propertyName
string getFunction
function - Inherited From:
-
isNet(netName) → {boolean}
-
Returns true <=> the object is in the provided net.
Parameters:
Name Type Description netName
string - Inherited From:
Returns:
- Type
- boolean
-
isValid() → {boolean}
-
This:
Returns:
- Type
- boolean
-
onLayer(layer) → {boolean}
-
Returns true <=> the pcb object is on the provided layer.
This:
Parameters:
Name Type Description layer
string - Inherited From:
Returns:
- Type
- boolean