首页 / design / oaRowHeader

oaRowHeader

模块: oapy._oa._design 导入: from oapy._oa import _design

概览

oaRowHeaderoapy 中可用,可通过 _design 模块访问。

本页汇总 oaRowHeader 当前在 oapy 中可用的 Python 接口。

详细说明

The oaRowHeader class implements an object that contains information about a particular siteDef and all of the rows it uses。 The oaRowHeader class can be observed by deriving from oaObserver

方法总览

状态 Python 调用
obj.getSiteDef()
obj.getSiteDefName(siteDefName)
obj.getSiteDefWidth()
obj.getSiteDefHeight()
obj.getBBox(bBox)
obj.isBound()
obj.getRows()
_design.oaRowHeader.find(block, siteDef)
_design.oaRowHeader.find(block, siteDefName)

方法说明

obj.getSiteDef()

绑定状态: 已绑定

Python 调用: obj.getSiteDef()

This function attempts to return the siteDef associated with this rowHeader。 If the rowHeader is bound, a pointer to the siteDef is returned。 Otherwise, NULL is returned。

Python 示例

from oapy._oa import _design

# assume obj is a oaRowHeader
obj.getSiteDef()

obj.getSiteDefName(siteDefName)

绑定状态: 已绑定

Python 调用: obj.getSiteDefName(siteDefName)

This function fills in the given string with the name of the siteDef referenced by this rowHeader。

Python 示例

from oapy._oa import _design

# assume obj is a oaRowHeader
obj.getSiteDefName(siteDefName)

obj.getSiteDefWidth()

绑定状态: 已绑定

Python 调用: obj.getSiteDefWidth()

This function returns the width of the siteDef referenced by this rowHeader。

Python 示例

from oapy._oa import _design

# assume obj is a oaRowHeader
obj.getSiteDefWidth()

obj.getSiteDefHeight()

绑定状态: 已绑定

Python 调用: obj.getSiteDefHeight()

This function returns the height of the siteDef referenced by this rowHeader。

Python 示例

from oapy._oa import _design

# assume obj is a oaRowHeader
obj.getSiteDefHeight()

obj.getBBox(bBox)

绑定状态: 已绑定

Python 调用: obj.getBBox(bBox)

This function fills bBox with the bounding box of all rows associated with the rowHeader。 This is used to quickly determine whether any rows of the siteDef are in a region of interest。 The function returns a bounding box in the coordinate space of the rowHeader's design。

Python 示例

from oapy._oa import _design

# assume obj is a oaRowHeader
obj.getBBox(bBox)

obj.isBound()

绑定状态: 已绑定

Python 调用: obj.isBound()

This function returns a boolean value that indicates if this rowHeader is bound。 If the rowHeader is bound, the siteDef is read in the linkage from the rowHeader and is established by traversing from a row to that siteDef。

Python 示例

from oapy._oa import _design

# assume obj is a oaRowHeader
obj.isBound()

obj.getRows()

绑定状态: 已绑定

Python 调用: obj.getRows()

This function returns a collection of rows in this rowHeader。

Python 示例

from oapy._oa import _design

# assume obj is a oaRowHeader
obj.getRows()

_design.oaRowHeader.find(block, siteDef)

绑定状态: 已绑定

Python 调用: _design.oaRowHeader.find(block, siteDef)

This function searches the specified block for a rowHeader with the specified siteDefName。

Python 示例

from oapy._oa import _design

_design.oaRowHeader.find(block, siteDef)

_design.oaRowHeader.find(block, siteDefName)

绑定状态: 已绑定

Python 调用: _design.oaRowHeader.find(block, siteDefName)

This function searches the specified block for a rowHeader with the specified siteDef pointer。

Python 示例

from oapy._oa import _design

_design.oaRowHeader.find(block, siteDefName)