Class SCNText

    • Constructor Detail

      • SCNText

        protected SCNText​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • alloc

        public static SCNText alloc()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        public static org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • geometry

        public static SCNText geometry()
      • geometryWithMDLMesh

        public static SCNText geometryWithMDLMesh​(MDLMesh mdlMesh)
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • textWithStringExtrusionDepth

        public static SCNText textWithStringExtrusionDepth​(java.lang.Object string,
                                                           double extrusionDepth)
        textWithString:extrusionDepth: Creates and returns a 3D representation of given text with given extrusion depth.
        Parameters:
        string - The text to be represented.
        extrusionDepth - The extrusion depth.
      • version_static

        public static long version_static()
      • alignmentMode

        public java.lang.String alignmentMode()
        [@property] alignmentMode Determines how individual lines of text are horizontally aligned within the bounds. For the text to be aligned you first need to set its bounds, otherwise the text is not aligned. The default value is kCAAlignmentNatural. See alignments in CATextLayer.h.
      • chamferProfile

        public UIBezierPath chamferProfile()
        [@property] chamferProfile Describes the profile used to when "chamferRadius" is not nil. When "chamferProfile" is nil we fallback on a path representing a quadrant. The profile should be a 2D curve beginning at (0,1) and ending at (1,0). The "flatness" property is also used to flatten this path. The default value is nil.
      • chamferRadius

        public double chamferRadius()
        [@property] chamferRadius The chamfer radius. Animatable. Values are clamped to the range [0, extrusionDepth / 2]. The actual chamfer radius might be different to the one here specified: large values are clipped to a per-glyph max value. The default value is 0.
      • containerFrame

        public CGRect containerFrame()
        [@property] containerFrame A container within which the text may be wrapped or truncated. The text will start at the top-left corner of the rect. You need to set this property for text truncation or alignment to work. Getting this property when it has never been set returns CGRectZero.
      • extrusionDepth

        public double extrusionDepth()
        [@property] extrusionDepth The extrusion depth. Animatable. If the value is 0, we get a mono-sided, 2D version of the text.
      • flatness

        public double flatness()
        [@property] flatness Specifies the accuracy (or smoothness) with which fonts are rendered. Smaller numbers give smoother curves at the expense of more computation and heavier geometries in terms of vertices. The default value is 1.0, which yields smooth curves.
      • font

        public UIFont font()
        [@property] font The font used to represent the text. The font property is only used when the string property is not an NSAttributedString. Defaults to Helvetica 36 point.
      • isWrapped

        public boolean isWrapped()
        [@property] wrapped Determines whether the text is wrapped to fit within the bounds. For the text to be wrapped you first need to set its bounds, otherwise the text is not wrapped. The default value is NO.
      • setWrapped

        public void setWrapped​(boolean value)
        [@property] wrapped Determines whether the text is wrapped to fit within the bounds. For the text to be wrapped you first need to set its bounds, otherwise the text is not wrapped. The default value is NO.
      • setAlignmentMode

        public void setAlignmentMode​(java.lang.String value)
        [@property] alignmentMode Determines how individual lines of text are horizontally aligned within the bounds. For the text to be aligned you first need to set its bounds, otherwise the text is not aligned. The default value is kCAAlignmentNatural. See alignments in CATextLayer.h.
      • setChamferProfile

        public void setChamferProfile​(UIBezierPath value)
        [@property] chamferProfile Describes the profile used to when "chamferRadius" is not nil. When "chamferProfile" is nil we fallback on a path representing a quadrant. The profile should be a 2D curve beginning at (0,1) and ending at (1,0). The "flatness" property is also used to flatten this path. The default value is nil.
      • setChamferRadius

        public void setChamferRadius​(double value)
        [@property] chamferRadius The chamfer radius. Animatable. Values are clamped to the range [0, extrusionDepth / 2]. The actual chamfer radius might be different to the one here specified: large values are clipped to a per-glyph max value. The default value is 0.
      • setContainerFrame

        public void setContainerFrame​(CGRect value)
        [@property] containerFrame A container within which the text may be wrapped or truncated. The text will start at the top-left corner of the rect. You need to set this property for text truncation or alignment to work. Getting this property when it has never been set returns CGRectZero.
      • setExtrusionDepth

        public void setExtrusionDepth​(double value)
        [@property] extrusionDepth The extrusion depth. Animatable. If the value is 0, we get a mono-sided, 2D version of the text.
      • setFlatness

        public void setFlatness​(double value)
        [@property] flatness Specifies the accuracy (or smoothness) with which fonts are rendered. Smaller numbers give smoother curves at the expense of more computation and heavier geometries in terms of vertices. The default value is 1.0, which yields smooth curves.
      • setFont

        public void setFont​(UIFont value)
        [@property] font The font used to represent the text. The font property is only used when the string property is not an NSAttributedString. Defaults to Helvetica 36 point.
      • setString

        public void setString​(java.lang.Object value)
        [@property] string The text to be represented. The text must be an instance of NSString or NSAttributedString. The default value is nil.
      • setTruncationMode

        public void setTruncationMode​(java.lang.String value)
        [@property] truncationMode Describes how the text is truncated to fit within the bounds. For the text to be truncated you first need to set its bounds, otherwise the text is not truncated. The default value is kCATruncationNone. See truncation modes in CATextLayer.h.
      • string

        public java.lang.Object string()
        [@property] string The text to be represented. The text must be an instance of NSString or NSAttributedString. The default value is nil.
      • _supportsSecureCoding

        public boolean _supportsSecureCoding()
        Description copied from interface: NSSecureCoding
        This property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.
        Specified by:
        _supportsSecureCoding in interface NSSecureCoding
        Overrides:
        _supportsSecureCoding in class SCNGeometry
      • truncationMode

        public java.lang.String truncationMode()
        [@property] truncationMode Describes how the text is truncated to fit within the bounds. For the text to be truncated you first need to set its bounds, otherwise the text is not truncated. The default value is kCATruncationNone. See truncation modes in CATextLayer.h.