* 获取配置项计算数值 * @param property 属性 * @param value 原始值 * @param range 范围值
(
property: ValueOf<typeof stdProperties>,
value: StrNumBool,
range: number
)
| 168 | * @param range 范围值 |
| 169 | */ |
| 170 | protected static getOptionProcessedValue( |
| 171 | property: ValueOf<typeof stdProperties>, |
| 172 | value: StrNumBool, |
| 173 | range: number |
| 174 | ): StrNumBool { |
| 175 | if ( |
| 176 | property === 'offsetTop' || |
| 177 | property === 'offsetLeft' || |
| 178 | property === 'crestHeight' |
| 179 | ) { |
| 180 | return calcQuantity(value as number, range) |
| 181 | } |
| 182 | return value |
| 183 | } |
| 184 | |
| 185 | /** |
| 186 | * 创建波浪线条像素点 |
no test coverage detected