oaPathStyle
模块: oapy._oa._design
导入: from oapy._oa import _design
概览
oaPathStyle 在 oapy 中可用,可通过 _design 模块访问。
本页汇总 oaPathStyle 当前在 oapy 中可用的 Python 接口。
详细说明
The oaPathStyle class is an enum wrapper class that describes the various end point styles of oaPath objects。 See Enum Wrappers in the Programmers Guide for a discussion of enum wrappers。 enum oaPathStyleEnum Enumeration values: oacTruncatePathStyle "truncate" This style results in no extension beyond the beginning and ending points for the oaPath oacExtendPathStyle "extend" This style results in a one-half width extension beyond the beginning and ending points for the oaPath oacRoundPathStyle "round" This style results in an octagonal extension with 3 edges which extend one-third the oaPath width oacVariablePathStyle "variable" This style can have a beginning extension different from the ending extension。 Only paths with this style may have a beginExt and endExt set。
构造函数
_design.oaPathStyle(valueIn)
obj = _design.oaPathStyle(valueIn)
_design.oaPathStyle(name)
obj = _design.oaPathStyle(name)
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.getName() |
方法说明
obj.getName()
绑定状态: 已绑定
Python 调用: obj.getName()
This function returns the name string associated with the encapsulated oaPathStyleEnum object。
Python 示例
from oapy._oa import _design
# assume obj is a oaPathStyle
obj.getName()