Package org.robovm.apple.coreanimation
Class CATextLayer
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.coreanimation.CALayer
-
- org.robovm.apple.coreanimation.CATextLayer
-
- All Implemented Interfaces:
CAMediaTiming
,NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
public class CATextLayer extends CALayer
- Since:
- Available in iOS 2.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CATextLayer.CATextLayerPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.coreanimation.CALayer
CALayer.CALayerPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description CATextLayer()
CATextLayer(CALayer layer)
protected
CATextLayer(NSObject.Handle h, long handle)
protected
CATextLayer(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
allowsFontSubpixelQuantization()
CATextAlignmentMode
getAlignmentMode()
java.lang.Object
getFont()
Returns the value of thefont
property.protected long
getFontPtr()
double
getFontSize()
CGColor
getForegroundColor()
java.lang.Object
getString()
protected long
getStringPtr()
CATextTruncationMode
getTruncationMode()
boolean
isWrapped()
void
setAlignmentMode(CATextAlignmentMode v)
void
setAllowsFontSubpixelQuantization(boolean v)
void
setFont(java.lang.String font)
void
setFont(CGFont font)
void
setFont(CTFont font)
protected void
setFontPtr(long v)
void
setFontSize(double v)
void
setForegroundColor(CGColor v)
void
setString(java.lang.String string)
void
setString(NSAttributedString string)
protected void
setStringPtr(long v)
void
setTruncationMode(CATextTruncationMode v)
void
setWrapped(boolean v)
-
Methods inherited from class org.robovm.apple.coreanimation.CALayer
addAnimation, addSublayer, allowsEdgeAntialiasing, allowsGroupOpacity, areContentsFlipped, autoreverses, containsPoint, convertPointFromLayer, convertPointToLayer, convertRectFromLayer, convertRectToLayer, convertTimeFromLayer, convertTimeToLayer, display, displayIfNeeded, draw, drawsAsynchronously, encode, getAction, getActions, getAffineTransform, getAnchorPoint, getAnchorPointZ, getAnimation, getAnimationKeys, getBackgroundColor, getBackgroundFilters, getBeginTime, getBorderColor, getBorderWidth, getBounds, getCompositingFilter, getContents, getContentsCenter, getContentsFormat, getContentsGravity, getContentsRect, getContentsScale, getCornerRadius, getDefaultAction, getDefaultValue, getDelegate, getDuration, getEdgeAntialiasingMask, getFillMode, getFilters, getFrame, getMagnificationFilter, getMask, getMaskedCorners, getMinificationFilter, getMinificationFilterBias, getModelLayer, getName, getOpacity, getPosition, getPreferredFrameSize, getPresentationLayer, getRasterizationScale, getRepeatCount, getRepeatDuration, getShadowColor, getShadowOffset, getShadowOpacity, getShadowPath, getShadowRadius, getSpeed, getStyle, getSublayers, getSublayerTransform, getSuperlayer, getTimeOffset, getTransform, getVisibleRect, getZPosition, hitTest, init, init, insertSublayerAbove, insertSublayerAt, insertSublayerBelow, isDoubleSided, isGeometryFlipped, isHidden, isOpaque, layoutIfNeeded, layoutSublayers, masksToBounds, needsDisplay, needsDisplay, needsDisplayOnBoundsChange, needsLayout, removeAllAnimations, removeAnimation, removeFromSuperlayer, render, replaceSublayer, scrollTo, scrollTo, setActions, setAffineTransform, setAllowsEdgeAntialiasing, setAllowsGroupOpacity, setAnchorPoint, setAnchorPointZ, setAutoreverses, setBackgroundColor, setBackgroundFilters, setBeginTime, setBorderColor, setBorderWidth, setBounds, setCompositingFilter, setContents, setContentsCenter, setContentsFormat, setContentsGravity, setContentsRect, setContentsScale, setCornerRadius, setDelegate, setDoubleSided, setDrawsAsynchronously, setDuration, setEdgeAntialiasingMask, setFillMode, setFilters, setFrame, setGeometryFlipped, setHidden, setMagnificationFilter, setMask, setMaskedCorners, setMasksToBounds, setMinificationFilter, setMinificationFilterBias, setName, setNeedsDisplay, setNeedsDisplay, setNeedsDisplayOnBoundsChange, setNeedsLayout, setOpacity, setOpaque, setPosition, setRasterizationScale, setRepeatCount, setRepeatDuration, setShadowColor, setShadowOffset, setShadowOpacity, setShadowPath, setShadowRadius, setShouldRasterize, setSpeed, setStyle, setSublayers, setSublayerTransform, setTimeOffset, setTransform, setZPosition, shouldArchiveValue, shouldRasterize, supportsSecureCoding
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
CATextLayer
public CATextLayer()
-
CATextLayer
protected CATextLayer(NSObject.Handle h, long handle)
-
CATextLayer
protected CATextLayer(NSObject.SkipInit skipInit)
-
CATextLayer
public CATextLayer(CALayer layer)
-
-
Method Detail
-
getStringPtr
protected long getStringPtr()
-
setStringPtr
protected void setStringPtr(long v)
-
getFontPtr
protected long getFontPtr()
-
setFontPtr
protected void setFontPtr(long v)
-
getFontSize
public double getFontSize()
-
setFontSize
public void setFontSize(double v)
-
getForegroundColor
public CGColor getForegroundColor()
-
setForegroundColor
public void setForegroundColor(CGColor v)
-
isWrapped
public boolean isWrapped()
-
setWrapped
public void setWrapped(boolean v)
-
getTruncationMode
public CATextTruncationMode getTruncationMode()
-
setTruncationMode
public void setTruncationMode(CATextTruncationMode v)
-
getAlignmentMode
public CATextAlignmentMode getAlignmentMode()
-
setAlignmentMode
public void setAlignmentMode(CATextAlignmentMode v)
-
allowsFontSubpixelQuantization
public boolean allowsFontSubpixelQuantization()
-
setAllowsFontSubpixelQuantization
public void setAllowsFontSubpixelQuantization(boolean v)
-
getString
public java.lang.Object getString()
-
setString
public void setString(java.lang.String string)
-
setString
public void setString(NSAttributedString string)
-
getFont
public java.lang.Object getFont()
-
setFont
public void setFont(CTFont font)
-
setFont
public void setFont(CGFont font)
-
setFont
public void setFont(java.lang.String font)
-
-