Package org.robovm.apple.coretext
Class CTTypesetter
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.apple.corefoundation.CFType
-
- org.robovm.apple.coretext.CTTypesetter
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class CTTypesetter extends CFType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CTTypesetter.CTTypesetterPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CTTypesetter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CTTypesetter
create(NSAttributedString string)
static CTTypesetter
create(NSAttributedString string, CTTypesetterOptions options)
CTLine
createLine(CFRange stringRange)
CTLine
createLine(CFRange stringRange, double offset)
static long
getClassTypeID()
long
suggestClusterBreak(long startIndex, double width)
long
suggestClusterBreak(long startIndex, double width, double offset)
long
suggestLineBreak(long startIndex, double width)
long
suggestLineBreak(long startIndex, double width, double offset)
-
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
-
-
-
-
Method Detail
-
getClassTypeID
public static long getClassTypeID()
- Since:
- Available in iOS 3.2 and later.
-
create
public static CTTypesetter create(NSAttributedString string)
- Since:
- Available in iOS 3.2 and later.
-
create
public static CTTypesetter create(NSAttributedString string, CTTypesetterOptions options)
- Since:
- Available in iOS 3.2 and later.
-
createLine
public CTLine createLine(CFRange stringRange, double offset)
- Since:
- Available in iOS 3.2 and later.
-
suggestLineBreak
public long suggestLineBreak(long startIndex, double width, double offset)
- Since:
- Available in iOS 3.2 and later.
-
suggestLineBreak
public long suggestLineBreak(long startIndex, double width)
- Since:
- Available in iOS 3.2 and later.
-
suggestClusterBreak
public long suggestClusterBreak(long startIndex, double width, double offset)
- Since:
- Available in iOS 3.2 and later.
-
suggestClusterBreak
public long suggestClusterBreak(long startIndex, double width)
- Since:
- Available in iOS 3.2 and later.
-
-