public class VisualizeOptionsProvides customizable settings for: 提供可自定义的设置: - Mask transparency and confidence thresholds 掩膜透明度和置信度阈值 - Font styling and sizing 字体样式和大小 - Drawing parameters like borders 绘制参数如边框
Supports automatic scaling based on ratio for responsive visualization 支持基于比例的自适应缩放
| VisualizeOptions | Initializes visualization options with scaling ratio 使用缩放比例初始化可视化选项 |
| BorderThickness | Thickness of border lines (will be scaled by ratio) 边框线条粗细(会被比例缩放) |
| colors | Color provider for visualization elements 可视化元素的颜色提供器 |
| Colors | |
| FontFamily | Selected font family for text rendering 用于文本渲染的字体家族 |
| FontHeight | Calculated height of the current font 当前字体的计算高度 |
| FontSize | Base font size (will be scaled by ratio) 基础字体大小(会被比例缩放) |
| FontType | Generated font instance from selected family and size 根据选择的字体家族和大小生成的字体实例 |
| KeyPointMinConfidence | |
| MaskAlpha | Alpha transparency value for masks (0-1) 掩膜的透明度值(0-1) |
| MaskMinConfidence | |
| MaskMinimumConfidence | Minimum confidence threshold for rendering masks 渲染掩膜的最低置信度阈值 |
| PointDrawThreshold | Confidence threshold for rendering points 渲染关键点的置信度阈值 |
| Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) |
| GetDefaultFontFamily | Gets the most appropriate default font family across platforms 获取跨平台最合适的默认字体家族 |
| GetFontHeight | Calculates the actual rendered height of a font 计算字体实际渲染高度 |
| GetHashCode | Serves as the default hash function. (继承自 Object。) |
| GetType | Gets the Type of the current instance. (继承自 Object。) |
| MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) |
| ToString | Returns a string that represents the current object. (继承自 Object。) |