Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想要一个SeekBar满足以下要求的:
SeekBar
min = -655 half = -140 max = 0
按照下一个解释,我设法拥有
min = 0 half = 140 max = 655
我到了一半,但我不知道如何将数字倒置..
取您想出的表达式,并通过将 x 替换为 1-x 将其水平反映在 x=.5 周围。然后通过否定整个事物在 y=0 周围垂直反射它。
也就是说,你有 f(x),但你想要 g(x),其中 g(x) = -f(1-x)。