Class SoAnnoText3Property

All Implemented Interfaces:
SafeDisposable

public class SoAnnoText3Property extends SoNode
Annotation text property node. This node sets the current annotation text properties in the state used by all subsequent SoAnnoText3 nodes.

File format/default:

AnnoText3Property {

    renderPrintType RENDER3D_PRINT_VECTOR
    isCharOrientedRasterPrint true
    fontSizeHint FIT_VECTOR_TEXT
}

Action behavior:

Sets: SoAnnoText3CharOrientElement, SoAnnoText3FontSizeHintElement, SoAnnoText3RenderPrintElement

See Also:
  • Field Details Link icon

    • renderPrintType Link icon

      public final 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). . Default is RENDER3D_PRINT_VECTOR.
    • isCharOrientedRasterPrint Link icon

      public final SoSFBool isCharOrientedRasterPrint
      This flag is used when the field 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.
    • fontSizeHint Link icon

      public final SoSFEnum<SoAnnoText3Property.FontSizeHints> fontSizeHint
      This flag is used when the field 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.
  • Constructor Details Link icon

    • SoAnnoText3Property Link icon

      public SoAnnoText3Property()
      Constructor.
  • Method Details Link icon

    • getMaxViewingFontSize Link icon

      public static int getMaxViewingFontSize()
      Gets the maximum font size (in pixels) that can be used when renderPrintType field is equal to RENDER2D_PRINT_RASTER.
    • setMaxViewingFontSize Link icon

      public static void setMaxViewingFontSize(int size)
      Sets the maximum font size (in pixels) when 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.