public class SCNText extends SCNGeometry
SCNText represents a block of text that has been extruded
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_retSCNShadable.Block_handleBindingOfSymbolUsingBlock, SCNShadable.Block_handleUnbindingOfSymbolUsingBlock| Modifier | Constructor and Description |
|---|---|
protected |
SCNText(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
_supportsSecureCoding()
This property must return YES on all classes that allow secure coding.
|
static boolean |
accessInstanceVariablesDirectly() |
java.lang.String |
alignmentMode()
[@property] alignmentMode
|
static SCNText |
alloc() |
static SCNText |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
UIBezierPath |
chamferProfile()
[@property] chamferProfile
|
double |
chamferRadius()
[@property] chamferRadius
|
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
CGRect |
containerFrame()
[@property] containerFrame
|
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
double |
extrusionDepth()
[@property] extrusionDepth
|
double |
flatness()
[@property] flatness
|
UIFont |
font()
[@property] font
|
static SCNText |
geometry() |
static SCNText |
geometryWithMDLMesh(MDLMesh mdlMesh) |
static SCNText |
geometryWithSourcesElements(NSArray<? extends SCNGeometrySource> sources,
NSArray<? extends SCNGeometryElement> elements) |
static long |
hash_static() |
SCNText |
init() |
SCNText |
initWithCoder(NSCoder coder)
NS_DESIGNATED_INITIALIZER
|
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
boolean |
isWrapped()
[@property] wrapped
|
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static SCNText |
new_objc() |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setAlignmentMode(java.lang.String value)
[@property] alignmentMode
|
void |
setChamferProfile(UIBezierPath value)
[@property] chamferProfile
|
void |
setChamferRadius(double value)
[@property] chamferRadius
|
void |
setContainerFrame(CGRect value)
[@property] containerFrame
|
void |
setExtrusionDepth(double value)
[@property] extrusionDepth
|
void |
setFlatness(double value)
[@property] flatness
|
void |
setFont(UIFont value)
[@property] font
|
void |
setString(java.lang.Object value)
[@property] string
|
void |
setTruncationMode(java.lang.String value)
[@property] truncationMode
|
static void |
setVersion_static(long aVersion) |
void |
setWrapped(boolean value)
[@property] wrapped
|
java.lang.Object |
string()
[@property] string
|
static org.moe.natj.objc.Class |
superclass_static() |
static boolean |
supportsSecureCoding() |
static SCNText |
textWithStringExtrusionDepth(java.lang.Object string,
double extrusionDepth)
textWithString:extrusionDepth:
|
java.lang.String |
truncationMode()
[@property] truncationMode
|
static long |
version_static() |
addAnimationForKey, addAnimationPlayerForKey, animationForKey, animationKeys, animationPlayerForKey, copyWithZone, edgeCreasesElement, edgeCreasesSource, encodeWithCoder, firstMaterial, geometryElementAtIndex, geometryElementCount, geometryElements, geometrySources, geometrySourcesForSemantic, getBoundingBoxMinMax, getBoundingSphereCenterRadius, handleBindingOfSymbolUsingBlock, handleUnbindingOfSymbolUsingBlock, insertMaterialAtIndex, isAnimationForKeyPaused, levelsOfDetail, materials, materialWithName, minimumLanguageVersion, name, pauseAnimationForKey, program, removeAllAnimations, removeAllAnimationsWithBlendOutDuration, removeAnimationForKey, removeAnimationForKeyBlendOutDuration, removeAnimationForKeyFadeOutDuration, removeMaterialAtIndex, replaceMaterialAtIndexWithMaterial, resumeAnimationForKey, setBoundingBoxMinMax, setEdgeCreasesElement, setEdgeCreasesSource, setFirstMaterial, setLevelsOfDetail, setMaterials, setMinimumLanguageVersion, setName, setProgram, setShaderModifiers, setSpeedForAnimationKey, setSubdivisionLevel, setTessellator, setWantsAdaptiveSubdivision, shaderModifiers, subdivisionLevel, tessellator, wantsAdaptiveSubdivisionaccessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static SCNText alloc()
public static SCNText allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static SCNText geometry()
public static SCNText geometryWithSourcesElements(NSArray<? extends SCNGeometrySource> sources, NSArray<? extends SCNGeometryElement> elements)
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static SCNText new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static boolean supportsSecureCoding()
public static SCNText textWithStringExtrusionDepth(java.lang.Object string, double extrusionDepth)
Creates and returns a 3D representation of given text with given extrusion depth.
string - The text to be represented.extrusionDepth - The extrusion depth.public static long version_static()
public java.lang.String 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.
public UIBezierPath 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.
public double 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.
public CGRect 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.
public double extrusionDepth()
The extrusion depth. Animatable.
If the value is 0, we get a mono-sided, 2D version of the text.
public double 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.
public UIFont 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.
public SCNText init()
init in class SCNGeometrypublic SCNText initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodinginitWithCoder in class SCNGeometrypublic boolean isWrapped()
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.
public void setWrapped(boolean value)
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.
public void setAlignmentMode(java.lang.String value)
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.
public void setChamferProfile(UIBezierPath value)
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.
public void setChamferRadius(double value)
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.
public void setContainerFrame(CGRect value)
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.
public void setExtrusionDepth(double value)
The extrusion depth. Animatable.
If the value is 0, we get a mono-sided, 2D version of the text.
public void setFlatness(double value)
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.
public void setFont(UIFont value)
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.
public void setString(java.lang.Object value)
The text to be represented. The text must be an instance of NSString or NSAttributedString.
The default value is nil.
public void setTruncationMode(java.lang.String value)
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.
public java.lang.Object string()
The text to be represented. The text must be an instance of NSString or NSAttributedString.
The default value is nil.
public boolean _supportsSecureCoding()
NSSecureCoding_supportsSecureCoding in interface NSSecureCoding_supportsSecureCoding in class SCNGeometrypublic java.lang.String 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.