public class SoAnnoText3Property extends SoNode
SoAnnoText3
nodes.
File format/default:
AnnoText3Property {
renderPrintType | RENDER3D_PRINT_VECTOR |
isCharOrientedRasterPrint | true |
fontSizeHint | FIT_VECTOR_TEXT |
Action behavior:
Sets: SoAnnoText3CharOrientElement
, SoAnnoText3FontSizeHintElement
, SoAnnoText3RenderPrintElement
See also:
Modifier and Type | Class and Description |
---|---|
static class |
SoAnnoText3Property.FontSizeHints
Font size hint.
|
static class |
SoAnnoText3Property.RenderPrintTypes
Render print type.
|
SoNode.RenderModes
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFEnum<SoAnnoText3Property.FontSizeHints> |
fontSizeHint
This flag is used when the field
renderPrintType is equal to RENDER3D_PRINT_RASTER or RENDER2D_PRINT_RASTER. |
SoSFBool |
isCharOrientedRasterPrint
This flag is used when the field
renderPrintType is equal to RENDER3D_PRINT_RASTER or RENDER2D_PRINT_RASTER. |
SoSFEnum<SoAnnoText3Property.RenderPrintTypes> |
renderPrintType
This flag specifies how annotation text should be rendered (as 3D text or 2D text) and how it should be printed when the Hard Copy Extension is used (as 3D vectors or 2D PostScript raster fonts).
|
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoAnnoText3Property()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static int |
getMaxViewingFontSize()
Gets the maximum font size (in pixels) that can be used when
renderPrintType field is equal to RENDER2D_PRINT_RASTER. |
static void |
setMaxViewingFontSize(int size)
Sets the maximum font size (in pixels) when
renderPrintType field is equal to RENDER2D_PRINT_RASTER. |
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderEngineMode, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, write
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable
getNativeResourceHandle
public final SoSFEnum<SoAnnoText3Property.RenderPrintTypes> renderPrintType
public final SoSFBool isCharOrientedRasterPrint
renderPrintType
is equal to RENDER3D_PRINT_RASTER or RENDER2D_PRINT_RASTER.
It specifies whether the text should be oriented (or not) for printing when using the Hard Copy Extension. Default is true.public final SoSFEnum<SoAnnoText3Property.FontSizeHints> fontSizeHint
renderPrintType
is equal to RENDER3D_PRINT_RASTER or RENDER2D_PRINT_RASTER.
It specifies how the font size for 2D text (whether rendered or raster) changes according to the view. . Default is FIT_VECTOR_TEXT.public static int getMaxViewingFontSize()
renderPrintType
field is equal to RENDER2D_PRINT_RASTER.public static void setMaxViewingFontSize(int size)
renderPrintType
field is equal to RENDER2D_PRINT_RASTER.
The maximum font size can also be set using the OIV_MAX_ANNO_RENDER2D_SIZE environment variable.Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com