Class SoAnnoText3Property

    • Field Detail

      • renderPrintType

        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

        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

        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 Detail

      • SoAnnoText3Property

        public SoAnnoText3Property()
        Constructor.
    • Method Detail

      • getMaxViewingFontSize

        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

        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.