Graphics RenderingAnimation ModelsDragonBoneOn this pageDragonBone Description: An implementation of the 'Playable' record using the DragonBones animation system. Class Object: DragonBone Class. Inherits from: Playable. hitTestEnabled Type: Field. Description: Whether hit testing is enabled. Signature: hitTestEnabled: boolean containsPoint Type: Function. Description: Checks if a point is inside the boundaries of the instance and returns the name of the bone or slot at that point, or nil if no bone or slot is found. Signature: containsPoint: function(self: DragonBone, x: number, y: number): string | nil Parameters: ParameterTypeDescriptionxnumberThe x-coordinate of the point to check.ynumberThe y-coordinate of the point to check. Returns: Return TypeDescriptionstring|nilThe name of the bone or slot at the point, or nil if no bone or slot is found. intersectsSegment Type: Function. Description: Checks if a line segment intersects the boundaries of the instance and returns the name of the bone or slot at the intersection point, or nil if no bone or slot is found. Signature: intersectsSegment: function(self: DragonBone, x1: number, y1: number, x2: number, y2: number): string | nil Parameters: ParameterTypeDescriptionx1numberThe x-coordinate of the start point of the line segment.y1numberThe y-coordinate of the start point of the line segment.x2numberThe x-coordinate of the end point of the line segment.y2numberThe y-coordinate of the end point of the line segment. Returns: Return TypeDescriptionstring|nilThe name of the bone or slot at the intersection point, or nil if no bone or slot is found.