在绘制矩形时,
Dim canGraph As Canvas
dim imgGraph As ImageView
Dim edtChi As EditText
dim chi as int
chi=edtchi.text(假设值为100,由使用者输入)
canGraph.Initialize(imgGraph)
canGraph.DrawColor(Colors.White)
SetRect.Initialize(110dip,170dip-chi*1dip,120dip,170dip)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.