Inherits from NSObject
Declared in IINKContentBlock.h

Overview

Represents a block of content. The tree of content blocks provides the hierarchical structure of a content part into semantic units.

Tasks

  •   part

    The part that contains this block.

    property
  •   valid

    Whether this block is still valid. A block becomes invalid when it is removed or when the currently edited part changes (see {@link IINKIEditorListener#partChanged}.

    property
  •   type

    The type of this block.

    property
  •   identifier

    The identifier of this block.

    property
  •   renderingIdentifier

    An identifier that can be used to match corresponding calls to {@link IINKICanvas#startGroup}.

    property
  •   box

    The box that represents the position of this block.

    property
  •   children

    The children of this block. The returned array is a copy of the list of child blocks, which makes it safe against concurrent changes.

    property
  •   conversionState

    The current conversion state of this block as a bitwise or combination IINKConversionState values.

    property

Properties

box

@property (nonatomic, readonly) CGRect box
Discussion

The box that represents the position of this block.

Declared In

IINKContentBlock.h

children

@property (nonatomic, readonly, nonnull) NSArray<IINKContentBlock*> *children
Discussion

The children of this block. The returned array is a copy of the list of child blocks, which makes it safe against concurrent changes.

Declared In

IINKContentBlock.h

conversionState

@property (nonatomic, readonly) IINKConversionState conversionState
Discussion

The current conversion state of this block as a bitwise or combination IINKConversionState values.

Declared In

IINKContentBlock.h

identifier

@property (nonatomic, readonly, nonnull) NSString *identifier
Discussion

The identifier of this block.

Declared In

IINKContentBlock.h

part

@property (nonatomic, readonly, nonnull) IINKContentPart *part
Discussion

The part that contains this block.

Declared In

IINKContentBlock.h

renderingIdentifier

@property (nonatomic, readonly, nonnull) NSString *renderingIdentifier
Discussion

An identifier that can be used to match corresponding calls to {@link IINKICanvas#startGroup}.

Declared In

IINKContentBlock.h

type

@property (nonatomic, readonly, nonnull) NSString *type
Discussion

The type of this block.

Declared In

IINKContentBlock.h

valid

@property (nonatomic, readonly) BOOL valid
Discussion

Whether this block is still valid. A block becomes invalid when it is removed or when the currently edited part changes (see {@link IINKIEditorListener#partChanged}.

Declared In

IINKContentBlock.h