SSComponent

Superclass:
NSObject
Declared In:

Introduction

information about a component returned from hitTest and componentsForItem



Properties

barIndex

the 0-based index of the bar containing this

controlPoint

return control point identifier

inner_h

the unique identifier for a direction-type inside a direction or a notation inside a note

isBezierControlPoint

true if this is a bezier inner control point for a slur or tied

isDeleteable

true if this can be deleted

isDraggable

true if this can be dragged (eg slur control point)

isEndPoint

true if this is the end point of a multiple element item (slur, tied, wedge etc)

isFragment

true if this is a fragment of a curve or angled line (slur, tied, wedge etc)

isSelectable

true if this can be selected

item_h

the unique identifier for the parent item in the score (note,rest,clef,time signature etc)

layout_h

the unique identifier for the atomic drawn element in the layout (notehead,stem,accidental,rest etc)

partIndex

the 0-based index of the part containing this

rawcomponent

the sscore_component

rect

the minimum rectangle around this component in the layout

type

the type of component


barIndex


the 0-based index of the bar containing this

@property (readonly) int barIndex; 

controlPoint


return control point identifier

@property (readonly) enum sscore_comp_controlpoint_e controlPoint; 

inner_h


the unique identifier for a direction-type inside a direction or a notation inside a note

@property (readonly) sscore_item_handle inner_h; 
Discussion

is sscore_invalid_item_handle for components which aren't part of a direction-type or notation


isBezierControlPoint


true if this is a bezier inner control point for a slur or tied

@property (readonly) bool isBezierControlPoint; 

isDeleteable


true if this can be deleted

@property (readonly) bool isDeleteable; 

isDraggable


true if this can be dragged (eg slur control point)

@property (readonly) bool isDraggable; 

isEndPoint


true if this is the end point of a multiple element item (slur, tied, wedge etc)

@property (readonly) bool isEndPoint; 

isFragment


true if this is a fragment of a curve or angled line (slur, tied, wedge etc)

@property (readonly) bool isFragment; 

isSelectable


true if this can be selected

@property (readonly) bool isSelectable; 

item_h


the unique identifier for the parent item in the score (note,rest,clef,time signature etc)

@property (readonly) sscore_item_handle item_h; 

layout_h


the unique identifier for the atomic drawn element in the layout (notehead,stem,accidental,rest etc)

@property (readonly) sscore_layout_handle layout_h; 

partIndex


the 0-based index of the part containing this

@property (readonly) int partIndex; 

rawcomponent


the sscore_component

@property (readonly) sscore_component rawcomponent; 

rect


the minimum rectangle around this component in the layout

@property (readonly) CGRect rect; 

type


the type of component

@property (readonly) enum sscore_component_type_e type;