Instance Method

cellBaselineOffset

Returns the text position where you draw the attachment cell’s image, relative to the current point established in the glyph layout.

Required.

Declaration

- (NSPoint)cellBaselineOffset;

Discussion

The image should be drawn so its lower-left corner lies on this point.

See Also

Proiding the Cell Metrics

- cellSize

Returns the size of the attachment’s icon.

Required.

- cellFrameForTextContainer:proposedLineFragment:glyphPosition:characterIndex:

Returns the frame of the cell to draw at the specified position in a text container.

Required.