SSComponent
Introductioninformation about a component returned from hitTest and componentsForItem Properties
barIndexthe 0-based index of the bar containing this @property (readonly) int barIndex; controlPointreturn control point identifier @property (readonly) enum sscore_comp_controlpoint_e controlPoint; inner_hthe unique identifier for a direction-type inside a direction or a notation inside a note @property (readonly) sscore_item_handle inner_h; Discussionis sscore_invalid_item_handle for components which aren't part of a direction-type or notation isBezierControlPointtrue if this is a bezier inner control point for a slur or tied @property (readonly) bool isBezierControlPoint; isDeleteabletrue if this can be deleted @property (readonly) bool isDeleteable; isDraggabletrue if this can be dragged (eg slur control point) @property (readonly) bool isDraggable; isEndPointtrue if this is the end point of a multiple element item (slur, tied, wedge etc) @property (readonly) bool isEndPoint; isFragmenttrue if this is a fragment of a curve or angled line (slur, tied, wedge etc) @property (readonly) bool isFragment; isSelectabletrue if this can be selected @property (readonly) bool isSelectable; item_hthe unique identifier for the parent item in the score (note,rest,clef,time signature etc) @property (readonly) sscore_item_handle item_h; layout_hthe unique identifier for the atomic drawn element in the layout (notehead,stem,accidental,rest etc) @property (readonly) sscore_layout_handle layout_h; partIndexthe 0-based index of the part containing this @property (readonly) int partIndex; rawcomponentthe sscore_component @property (readonly) sscore_component rawcomponent; rectthe minimum rectangle around this component in the layout @property (readonly) CGRect rect; typethe type of component @property (readonly) enum sscore_component_type_e type; |