public class SKLabelNode extends SKNode
SKNode.Block_enumerateChildNodesWithNameUsingBlock, SKNode.Block_runActionCompletionNSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_retUIResponderStandardEditActions.Block_updateTextAttributesWithConversionHandler| Modifier | Constructor and Description |
|---|---|
protected |
SKLabelNode(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() |
static SKLabelNode |
alloc() |
static SKLabelNode |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
NSAttributedString |
attributedText() |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
long |
blendMode()
Sets the blend mode to use when composing the sprite with the final framebuffer.
|
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
static void |
clearTextInputContextIdentifier(java.lang.String identifier) |
UIColor |
color()
Color to be blended with the text based on the colorBlendFactor
|
double |
colorBlendFactor()
Controls the blending between the rendered text and a color.
|
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
UIColor |
fontColor()
Base color that the text is rendered with (if supported by the font)
|
java.lang.String |
fontName() |
double |
fontSize() |
static long |
hash_static() |
long |
horizontalAlignmentMode() |
SKLabelNode |
init() |
SKLabelNode |
initWithCoder(NSCoder aDecoder)
NS_DESIGNATED_INITIALIZER
|
SKLabelNode |
initWithFontNamed(java.lang.String fontName) |
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) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static SKLabelNode |
labelNodeWithAttributedText(NSAttributedString attributedText) |
static SKLabelNode |
labelNodeWithFontNamed(java.lang.String fontName) |
static SKLabelNode |
labelNodeWithText(java.lang.String text) |
long |
lineBreakMode()
Determines the line break mode for multiple lines.
|
static SKLabelNode |
new_objc() |
static SKLabelNode |
node() |
static SKLabelNode |
nodeWithFileNamed(java.lang.String filename) |
static SKLabelNode |
nodeWithFileNamedSecurelyWithClassesAndError(java.lang.String filename,
NSSet<? extends org.moe.natj.objc.Class> classes,
org.moe.natj.general.ptr.Ptr<NSError> error) |
long |
numberOfLines()
Determines the number of lines to draw.
|
static NSArray<? extends GKPolygonObstacle> |
obstaclesFromNodeBounds(NSArray<? extends SKNode> nodes) |
static NSArray<? extends GKPolygonObstacle> |
obstaclesFromNodePhysicsBodies(NSArray<? extends SKNode> nodes) |
static NSArray<? extends GKPolygonObstacle> |
obstaclesFromSpriteTexturesAccuracy(NSArray<? extends SKNode> sprites,
float accuracy) |
double |
preferredMaxLayoutWidth()
If nonzero, this is used when determining layout width for multiline labels.
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setAttributedText(NSAttributedString value) |
void |
setBlendMode(long value)
Sets the blend mode to use when composing the sprite with the final framebuffer.
|
void |
setColor(UIColor value)
Color to be blended with the text based on the colorBlendFactor
|
void |
setColorBlendFactor(double value)
Controls the blending between the rendered text and a color.
|
void |
setFontColor(UIColor value)
Base color that the text is rendered with (if supported by the font)
|
void |
setFontName(java.lang.String value) |
void |
setFontSize(double value) |
void |
setHorizontalAlignmentMode(long value) |
void |
setLineBreakMode(long value)
Determines the line break mode for multiple lines.
|
void |
setNumberOfLines(long value)
Determines the number of lines to draw.
|
void |
setPreferredMaxLayoutWidth(double value)
If nonzero, this is used when determining layout width for multiline labels.
|
void |
setText(java.lang.String value) |
static void |
setVersion_static(long aVersion) |
void |
setVerticalAlignmentMode(long value) |
static org.moe.natj.objc.Class |
superclass_static() |
static boolean |
supportsSecureCoding() |
java.lang.String |
text() |
static long |
version_static() |
long |
verticalAlignmentMode() |
actionForKey, addChild, alpha, attributeValues, calculateAccumulatedFrame, canBecomeFocused, childNodeWithName, children, constraints, containsPoint, convertPointFromNode, convertPointToNode, copyWithZone, didHintFocusMovement, didUpdateFocusInContextWithAnimationCoordinator, encodeWithCoder, entity, enumerateChildNodesWithNameUsingBlock, focusBehavior, focusEffect, focusGroupIdentifier, focusGroupPriority, focusItemContainer, frame, hasActions, inParentHierarchy, insertChildAtIndex, intersectsNode, isEqualToNode, isHidden, isPaused, isTransparentFocusItem, isUserInteractionEnabled, moveToParent, name, nodeAtPoint, nodesAtPoint, objectForKeyedSubscript, parent, parentFocusEnvironment, physicsBody, position, preferredFocusedView, preferredFocusEnvironments, reachConstraints, removeActionForKey, removeAllActions, removeAllChildren, removeChildrenInArray, removeFromParent, runAction, runActionCompletion, runActionWithKey, scene, setAlpha, setAttributeValues, setConstraints, setEntity_unsafe, setEntity, setFocusBehavior, setHidden, setName, setNeedsFocusUpdate, setPaused, setPhysicsBody, setPosition, setReachConstraints, setScale, setSpeed, setUserData, setUserInteractionEnabled, setValueForAttributeNamed, setXScale, setYScale, setZPosition, setZRotation, shouldUpdateFocusInContext, speed, updateFocusIfNeeded, userData, valueForAttributeNamed, xScale, yScale, zPosition, zRotationactivityItemsConfiguration, becomeFirstResponder, buildMenuWithBuilder, canBecomeFirstResponder, canPasteItemProviders, canPerformActionWithSender, canResignFirstResponder, captureTextFromCamera, copy, cut, decreaseSize, delete, editingInteractionConfiguration, increaseSize, inputAccessoryView, inputAccessoryViewController, inputAssistantItem, inputView, inputViewController, isFirstResponder, keyCommands, makeTextWritingDirectionLeftToRight, makeTextWritingDirectionRightToLeft, motionBeganWithEvent, motionCancelledWithEvent, motionEndedWithEvent, nextResponder, paste, pasteAndGo, pasteAndMatchStyle, pasteAndSearch, pasteConfiguration, pasteItemProviders, pressesBeganWithEvent, pressesCancelledWithEvent, pressesChangedWithEvent, pressesEndedWithEvent, print, reloadInputViews, remoteControlReceivedWithEvent, resignFirstResponder, restoreUserActivityState, select, selectAll, setActivityItemsConfiguration, setPasteConfiguration, setUserActivity, targetForActionWithSender, textInputContextIdentifier, textInputMode, toggleBoldface, toggleItalics, toggleUnderline, touchesBeganWithEvent, touchesCancelledWithEvent, touchesEndedWithEvent, touchesEstimatedPropertiesUpdated, touchesMovedWithEvent, undoManager, updateTextAttributesWithConversionHandler, updateUserActivityState, userActivity, validateCommandaccessibilityActivate, 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 SKLabelNode alloc()
public static SKLabelNode 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 void clearTextInputContextIdentifier(java.lang.String identifier)
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
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 SKLabelNode labelNodeWithFontNamed(java.lang.String fontName)
public static SKLabelNode labelNodeWithText(java.lang.String text)
public static SKLabelNode new_objc()
public static SKLabelNode node()
public static SKLabelNode nodeWithFileNamed(java.lang.String filename)
public static NSArray<? extends GKPolygonObstacle> obstaclesFromNodeBounds(NSArray<? extends SKNode> nodes)
public static NSArray<? extends GKPolygonObstacle> obstaclesFromNodePhysicsBodies(NSArray<? extends SKNode> nodes)
public static NSArray<? extends GKPolygonObstacle> obstaclesFromSpriteTexturesAccuracy(NSArray<? extends SKNode> sprites, float accuracy)
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 long version_static()
public long blendMode()
SKNode.SKBlendModepublic UIColor color()
public double colorBlendFactor()
public UIColor fontColor()
public java.lang.String fontName()
public double fontSize()
public long horizontalAlignmentMode()
public SKLabelNode init()
public SKLabelNode initWithCoder(NSCoder aDecoder)
NSCodinginitWithCoder in interface NSCodinginitWithCoder in class SKNodepublic SKLabelNode initWithFontNamed(java.lang.String fontName)
public void setBlendMode(long value)
SKNode.SKBlendModepublic void setColor(UIColor value)
public void setColorBlendFactor(double value)
public void setFontColor(UIColor value)
public void setFontName(java.lang.String value)
public void setFontSize(double value)
public void setHorizontalAlignmentMode(long value)
public void setText(java.lang.String value)
public void setVerticalAlignmentMode(long value)
public java.lang.String text()
public long verticalAlignmentMode()
public NSAttributedString attributedText()
public static SKLabelNode labelNodeWithAttributedText(NSAttributedString attributedText)
public long lineBreakMode()
public long numberOfLines()
public double preferredMaxLayoutWidth()
public void setAttributedText(NSAttributedString value)
public void setLineBreakMode(long value)
public void setNumberOfLines(long value)
public void setPreferredMaxLayoutWidth(double value)
public static SKLabelNode nodeWithFileNamedSecurelyWithClassesAndError(java.lang.String filename, NSSet<? extends org.moe.natj.objc.Class> classes, org.moe.natj.general.ptr.Ptr<NSError> error)
public static boolean supportsSecureCoding()
public boolean _supportsSecureCoding()
NSSecureCoding_supportsSecureCoding in interface NSSecureCoding_supportsSecureCoding in class SKNode