Class: Padstack

Padstack

Members

(non-null) ctx_ :up.api.Context

@private
Type:
  • up.api.Context
Inherited From:

isFootprint :boolean

Type:
  • boolean

isPadstack :boolean

Type:
  • boolean

isPlatedThroughHole :boolean

Type:
  • boolean
Inherited From:

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:

(non-null) nets :Array.<up.api.core.Net>

Type:

(non-null) obj_ :up.genObj.Padstack

@private
Type:
  • up.genObj.Padstack

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:

diameter(layer) → (nullable) {number}

Parameters:
Name Type Description
layer string
Returns:
Type
number

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

shape(layer) → {string}

Parameters:
Name Type Description
layer string
Returns:
Type
string

size(layer) → {up.api.core.Point}

Parameters:
Name Type Description
layer string
Returns:
Size of the hole in nanometers.
Type
up.api.core.Point