Package org.robovm.apple.coretext
Class CTRubyAnnotation
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.apple.corefoundation.CFType
org.robovm.apple.coretext.CTRubyAnnotation
- All Implemented Interfaces:
AutoCloseable
public class CTRubyAnnotation extends CFType
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCTRubyAnnotation.CTRubyAnnotationPtrNested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler -
Constructor Summary
Constructors Modifier Constructor Description protectedCTRubyAnnotation() -
Method Summary
Modifier and Type Method Description static CTRubyAnnotationcreate(CTRubyAlignment alignment, CTRubyOverhang overhang, double sizeFactor, String... text)static CTRubyAnnotationcreateCopy(CTRubyAnnotation rubyAnnotation)static CTRubyAnnotationcreateWithAttributes(CTRubyAlignment alignment, CTRubyOverhang overhang, CTRubyPosition position, String string, NSDictionary attributes)CTRubyAlignmentgetAlignment()static longgetClassTypeID()CTRubyOverhanggetOverhang()doublegetSizeFactor()StringgetTextForPosition(CTRubyPosition position)Methods inherited from class org.robovm.apple.corefoundation.CFType
autorelease, close, dispose, dispose, doDispose, equalsTo, finalize, getAllocator, getDescription, getRetainCount, getTypeID, getTypeIDDescription, hash, makeCollectable, release, release, retain, retain, show, toString
-
Constructor Details
-
CTRubyAnnotation
protected CTRubyAnnotation()
-
-
Method Details
-
create
public static CTRubyAnnotation create(CTRubyAlignment alignment, CTRubyOverhang overhang, double sizeFactor, String... text)- Since:
- Available in iOS 8.0 and later.
-
getClassTypeID
public static long getClassTypeID() -
createWithAttributes
public static CTRubyAnnotation createWithAttributes(CTRubyAlignment alignment, CTRubyOverhang overhang, CTRubyPosition position, String string, NSDictionary attributes)- Since:
- Available in iOS 10.0 and later.
-
createCopy
-
getAlignment
-
getOverhang
-
getSizeFactor
public double getSizeFactor() -
getTextForPosition
-