CFx SDK Documentation
2020SP3
|
#include <DbLSStroke.h>
Public Types | |
enum | WidthMode { kLSNoWidth = 0, kLSWidthLeft = 1, kLSWidthRight = 2, kLSWidthFull = 3 } |
enum | CapMode { kLSCapsClosed = 0, kLSCapsOpen = 1, kLSCapsExtended = 2, kLSCapsHexagon = 3, kLSCapsOctagon = 4, kLSCapsDecagon = 5, kLSCapsArc = 30 } |
Public Member Functions | |
OdDbLSStroke () | |
bool | isDash () const |
bool | isGap () const |
void | setDash () |
void | setGap () |
void | setIsDash (bool bSet) |
bool | bypassCorner () const |
void | setBypassCorner (bool bSet) |
bool | canBeScaled () const |
void | setCanBeScaled (bool bSet) |
bool | invertAtOrigin () const |
void | setInvertAtOrigin (bool bSet) |
bool | invertAtEnd () const |
void | setInvertAtEnd (bool bSet) |
double | length () const |
void | setLength (double fLen) |
double | startWidth () const |
void | setStartWidth (double fWidth) |
double | endWidth () const |
void | setEndWidth (double fWidth) |
WidthMode | widthMode () const |
void | setWidthMode (WidthMode mode) |
CapMode | capMode () const |
void | setCapMode (CapMode mode) |
Protected Attributes | |
bool | m_bIsDash |
bool | m_bBypassCorner |
bool | m_bCanBeScaled |
bool | m_bDontInvertAtOrigin |
bool | m_bDontInvertAtEnd |
double | m_fLength |
double | m_fStartWidth |
double | m_fEndWidth |
WidthMode | m_WidthMode |
CapMode | m_CapMode |
Friends | |
class | OdDbLSStrokePatternComponentImpl |
Dgn Line Style Stroke.
Definition at line 38 of file DbLSStroke.h.
Enumerator | |
---|---|
kLSCapsClosed | |
kLSCapsOpen | |
kLSCapsExtended | |
kLSCapsHexagon | |
kLSCapsOctagon | |
kLSCapsDecagon | |
kLSCapsArc |
Definition at line 47 of file DbLSStroke.h.
Enumerator | |
---|---|
kLSNoWidth | |
kLSWidthLeft | |
kLSWidthRight | |
kLSWidthFull |
Definition at line 40 of file DbLSStroke.h.
|
inline |
Definition at line 79 of file DbLSStroke.h.
|
inline |
Returns corners bypass flag.
Definition at line 119 of file DbLSStroke.h.
|
inline |
Returns true if variable stroke length is enabled.
Definition at line 130 of file DbLSStroke.h.
|
inline |
Returns stroke caps type.
Definition at line 207 of file DbLSStroke.h.
|
inline |
Returns stroke end width.
Definition at line 185 of file DbLSStroke.h.
|
inline |
Returns true if invert stroke at end mode is enabled.
Definition at line 152 of file DbLSStroke.h.
|
inline |
Returns true if invert stroke at origin mode is enabled.
Definition at line 141 of file DbLSStroke.h.
|
inline |
Returns true if this stroke is dash.
Definition at line 96 of file DbLSStroke.h.
|
inline |
Returns true if this stroke is gap.
Definition at line 100 of file DbLSStroke.h.
|
inline |
Returns stroke length.
Definition at line 163 of file DbLSStroke.h.
|
inline |
Sets corners bypass flag.
bSet | [in] New value to set. |
Definition at line 125 of file DbLSStroke.h.
|
inline |
Sets variable length flag.
bSet | [in] New value to set. |
Definition at line 136 of file DbLSStroke.h.
Sets stroke caps type.
mode | [in] New stroke caps type. |
Definition at line 213 of file DbLSStroke.h.
|
inline |
Sets this stroke as dash.
Definition at line 104 of file DbLSStroke.h.
|
inline |
Sets stroke end width.
fWidth | [in] New stroke end width. |
Definition at line 191 of file DbLSStroke.h.
|
inline |
Sets this stroke as gap.
Definition at line 108 of file DbLSStroke.h.
|
inline |
Sets invert stroke at end mode flag.
bSet | [in] New value to set. |
Definition at line 158 of file DbLSStroke.h.
|
inline |
Sets invert stroke at origin mode flag.
bSet | [in] New value to set. |
Definition at line 147 of file DbLSStroke.h.
|
inline |
Sets isDash flag for this stroke.
bSet | [in] New flag to set. |
Definition at line 114 of file DbLSStroke.h.
|
inline |
Sets stroke length.
fLen | [in] New stroke length. |
Definition at line 169 of file DbLSStroke.h.
|
inline |
Sets stroke start width.
fWidth | [in] New stroke start width. |
Definition at line 180 of file DbLSStroke.h.
Sets stroke width mode.
mode | [in] New stroke width mode. |
Definition at line 202 of file DbLSStroke.h.
|
inline |
Returns stroke start width.
Definition at line 174 of file DbLSStroke.h.
|
inline |
Returns stroke width mode.
Definition at line 196 of file DbLSStroke.h.
|
friend |
Definition at line 216 of file DbLSStroke.h.
|
protected |
Definition at line 60 of file DbLSStroke.h.
|
protected |
Definition at line 61 of file DbLSStroke.h.
|
protected |
Definition at line 71 of file DbLSStroke.h.
|
protected |
Definition at line 70 of file DbLSStroke.h.
|
protected |
Definition at line 59 of file DbLSStroke.h.
|
protected |
Definition at line 76 of file DbLSStroke.h.
|
protected |
Definition at line 74 of file DbLSStroke.h.
|
protected |
Definition at line 72 of file DbLSStroke.h.
|
protected |
Definition at line 73 of file DbLSStroke.h.
|
protected |
Definition at line 75 of file DbLSStroke.h.