#include <opennurbs_dimensionstyle.h>
|
| enum | MaskFrame : unsigned char {
MaskFrame::NoFrame = 0,
MaskFrame::RectFrame = 1,
MaskFrame::CapsuleFrame = 2,
MaskFrame::CircleFrame = 3,
MaskFrame::SquareFrame = 4,
MaskFrame::DiamondFrame = 5,
MaskFrame::TriangleFrame = 6,
MaskFrame::HexagonFrame = 7,
MaskFrame::HexagonCapsuleFrame = 8,
MaskFrame::RoundRectFrame = 9
} |
| | Draw a frame stroke around the text mask area More...
|
| |
| enum | MaskType : unsigned char { MaskType::BackgroundColor = 0,
MaskType::MaskColor = 1
} |
| | Text mask drawn with background color or explicit color More...
|
| |
◆ MaskFrame
Draw a frame stroke around the text mask area
| Enumerator |
|---|
| NoFrame | Text mask frame not drawn
|
| RectFrame | Text mask frame outline rectangle drawn
|
| CapsuleFrame | Text mask frame outline capsule drawn
|
| CircleFrame | Text mask frame outline circle drawn
|
| SquareFrame | Text mask frame outline square drawn
|
| DiamondFrame | Text mask frame outline square rotated 45 degrees
|
| TriangleFrame | Text mask frame outline triangle drawn
|
| HexagonFrame | Text mask frame outline as a hexagon
|
| HexagonCapsuleFrame | Text mask frame outline as an elongated hexagon
|
| RoundRectFrame | Text mask frame outline as a rounded rectangle
|
◆ MaskType
Text mask drawn with background color or explicit color
| Enumerator |
|---|
| BackgroundColor | Text mask drawn with background color
|
| MaskColor | Text mask drawn with explicit color
|
◆ ON_TextMask() [1/2]
| ON_TextMask::ON_TextMask |
( |
| ) |
|
|
default |
◆ ~ON_TextMask()
| ON_TextMask::~ON_TextMask |
( |
| ) |
|
|
default |
◆ ON_TextMask() [2/2]
◆ Compare()
Description: ON_TextMask::Compare() compares content in a repeatable and well ordered way. Returns: 0: lhs and rhs have identical content. <0: lhs content is less than rhs content >0: lhs content is greater than rhs content
◆ ContentHash()
Returns: A SHA1 of the values defining the text mask. Two text masks have the same content if and only if they have identical content hash values.
◆ DrawTextMask()
| bool ON_TextMask::DrawTextMask |
( |
| ) |
const |
Specifies whether or not to draw a Text Mask.
◆ MaskBorder()
| double ON_TextMask::MaskBorder |
( |
| ) |
const |
Returns: Width of border area around text to be masked. The default value is 0.0.
◆ MaskColor()
| ON_Color ON_TextMask::MaskColor |
( |
| ) |
const |
◆ MaskFillType()
Determines where to get the color to draw a Text Mask Can be background color or a specific color
◆ MaskFrameFromUnsigned()
◆ MaskFrameType()
Determines whether or not to draw a rectangular frame around a text mask.
◆ MaskTypeFromUnsigned()
◆ operator=()
◆ Read()
◆ SetDrawTextMask()
| void ON_TextMask::SetDrawTextMask |
( |
bool |
bDraw | ) |
|
◆ SetMaskBorder()
| void ON_TextMask::SetMaskBorder |
( |
double |
offset | ) |
|
◆ SetMaskColor()
| void ON_TextMask::SetMaskColor |
( |
ON_Color |
color | ) |
|
◆ SetMaskFillType()
◆ SetMaskFrameType()
◆ Write()
◆ None