oaEndStyle
模块: oapy._oa._design
导入: from oapy._oa import _design
概览
oaEndStyle 在 oapy 中可用,可通过 _design 模块访问。
本页汇总 oaEndStyle 当前在 oapy 中可用的 Python 接口。
详细说明
The oaEndStyle class implements an enumerated type representing the different styles the end of a path segment may have。 The oaEndStyle class is an enum wrapper class for oaEndStyleEnum values。 See Enum Wrappers in the Programmers Guide for a discussion of enum wrappers。 enum oaEndStyleEnum Enumeration values: oacTruncateEndStyle "truncate" The pathSeg terminates at the end point with no overlap。 oacExtendEndStyle "extend" The pathSeg terminates one-half the segments width past the end point。 oacVariableEndStyle "variable" The pathSeg terminates at a user-specified (endExt) distance past the end point。 oacChamferEndStyle "chamfer" The pathSeg is terminated with an octagonal (chamfered) end style of fixed uniform dimensions。 oacCustomEndStyle "custom" The pathSeg is terminated with an octagonal (chamfered) end-style where each dimension of the chamfer is user-specified。
构造函数
_design.oaEndStyle(valueIn)
obj = _design.oaEndStyle(valueIn)
_design.oaEndStyle(name)
obj = _design.oaEndStyle(name)
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.getName() |
方法说明
obj.getName()
绑定状态: 已绑定
Python 调用: obj.getName()
This function returns a string that represents the name for the enumerated value that this end style represents。
Python 示例
from oapy._oa import _design
# assume obj is a oaEndStyle
obj.getName()