| | |
| | | using System; |
| | | //using Shared.I; |
| | | using Shared.IOS.TBL; |
| | | |
| | | |
| | |
| | | { |
| | | mHDLArcSeekBar = new HDLArcSeekbar |
| | | { |
| | | //Frame = new CoreGraphics.CGRect(0, 0, this.Width, this.Height), |
| | | //mHDLArcSeekBar.Frame = new CoreGraphics.CGRect(0, 0, 1024, 1024); |
| | | MProgressChangedDelegate = new OnProgressChangeListener(this) |
| | | }; |
| | | |
| | |
| | | { |
| | | base.Width = value; |
| | | RefreshFrame(); |
| | | //mHDLArcSeekBar.InitWithFrameArc(new CoreGraphics.CGRect(base.X, base.Y, base.Width, base.Height)); |
| | | |
| | | } |
| | | } |
| | | |
| | |
| | | { |
| | | base.Height = value; |
| | | RefreshFrame(); |
| | | |
| | | } |
| | | } |
| | | |
| | |
| | | { |
| | | base.X = value; |
| | | RefreshFrame(); |
| | | //mHDLArcSeekBar.InitWithFrameArc(new CoreGraphics.CGRect(base.X, base.Y, base.Width, base.Height)); |
| | | |
| | | } |
| | | } |
| | | |
| | |
| | | { |
| | | base.Y = value; |
| | | RefreshFrame(); |
| | | //mHDLArcSeekBar.InitWithFrameArc(new CoreGraphics.CGRect(base.X, base.Y, base.Width, base.Height)); |
| | | |
| | | } |
| | | } |
| | | |
| | |
| | | |
| | | get |
| | | { |
| | | |
| | | return (int)mHDLArcSeekBar.MProgressCurrentValue; |
| | | } |
| | | } |
| | |
| | | { |
| | | set |
| | | { |
| | | //mHDLArcSeekBar.SetArcColors(value); |
| | | |
| | | byte r, g, b, a; |
| | | r = (byte)(value / 256 / 256 % 256); |
| | | g = (byte)(value / 256 % 256); |
| | |
| | | { |
| | | set |
| | | { |
| | | //mHDLArcSeekBar.SetThumbRadius(value); |
| | | mHDLArcSeekBar.MThumbWidth = value * 2;//设置直径 |
| | | } |
| | | } |
| | |
| | | { |
| | | set |
| | | { |
| | | |
| | | byte r, g, b, a; |
| | | r = (byte)(value / 256 / 256 % 256); |
| | | g = (byte)(value / 256 % 256); |
| | |
| | | a = (byte)(value / 256 / 256 / 256 % 256); |
| | | |
| | | mHDLArcSeekBar.MProgressTextColor = UIKit.UIColor.FromRGBA(r, g, b, a); |
| | | //mHDLArcSeekBar.SetProgressTextColor(UIKit.UIColor.FromRGBA(r, g, b, a)); |
| | | |
| | | } |
| | | } |
| | | |
| | |
| | | { |
| | | set |
| | | { |
| | | //set => mHDLArcSeekBar.SetProgressTextSize(value); |
| | | mHDLArcSeekBar.MProgressTextSize = value; |
| | | } |
| | | |