Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 86d7b09

Browse files
Update README.md
1 parent 021d181 commit 86d7b09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ In cases where you need to re-issue a command that might appear redundant but is
189189
|----------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------|
190190
| `addVector(ShapeLayerBuilderProtocol, clear: Bool)` | Command to add a vector graphic layer over the video stream. The `builder` parameter is an instance conforming to `ShapeLayerBuilderProtocol`. The `clear` parameter specifies whether to clear existing vector layers before adding the new one. |
191191
| `removeAllVectors` | Command to remove all vector graphic layers from the video stream. |
192-
### Additional Notes on the subtitles Command
192+
### Additional Notes on Vector Graphics Commands
193193
- To use these commands, don’t forget to enable the Vector layer in settings via the EnableVector() setting.
194194
- The boundsChanged event(`boundsChanged(CGRect)`) is triggered when the main layer’s bounds are updated. This approach is particularly useful when overlays or custom vector layers need to adapt dynamically to changes in video player dimensions or other layout adjustments. To handle the frequent boundsChanged events effectively and improve performance, you can use a **throttle** function to limit how often the updates occur.
195195

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /