注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

你想快速掌握安卓编程吗

 
 
 

日志

 
 

库_刮擦效果  

2016-07-19 14:10:27|  分类: B.图形 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

This is a wrap for this github project.

V1.5 needs B4A 6+ as the resources are now inside an aar.

ScratchView
Author: DonManfred (wrapper)
Version: 1.5
ScratchImageView
Events:
PercentRevealed (percent As Double)
onRevealed ( As )
onScratching (Scratched As Boolean)Fields:
ba As BA
Methods:
BringToFront
DesignerCreateView (base As PanelWrapper, lw As LabelWrapper, props As Map)
Initialize (EventName As String)
Invalidate
Invalidate2 (arg0 As Rect)
Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
IsInitialized As Boolean
RemoveView
RequestFocus As Boolean
SendToBack
SetBackgroundImage (arg0 As Bitmap)
SetColorAnimated (arg0 As Int, arg1 As Int, arg2 As Int)
SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
SetLayoutAnimated (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int, arg4 As Int)
SetVisibleAnimated (arg0 As Int, arg1 As Boolean)
clear
clears the scratch area to reveal the hidden image.
isRevealed As Boolean
setEraserMode
Properties:
Background As Drawable
Color As Int
Enabled As Boolean
ErasePaint As Paint [read only]
Height As Int
ImageBounds() As Int [read only]
ImageDrawable As Drawable [write only]
ImageResource As String [write only]
Left As Int
Parent As Object [read only]
StrokeWidth As Int [write only]
Set the strokes width based on the parameter multiplier.
Tag As Object
Top As Int
Visible As Boolean
Width As Int
ScratchTextView
Events:
PercentRevealed (percent As Double)
onRevealed ( As )
onScratching (Scratched As Boolean)
Fields:
ba As BA
Methods:
BringToFront
DesignerCreateView (base As PanelWrapper, lw As LabelWrapper, props As Map)
Initialize (EventName As String)
Invalidate
Invalidate2 (arg0 As Rect)
Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
IsInitialized As Boolean
RemoveView
RequestFocus As Boolean
SendToBack
SetBackgroundImage (arg0 As Bitmap)
SetColorAnimated (arg0 As Int, arg1 As Int, arg2 As Int)
SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
SetLayoutAnimated (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int, arg4 As Int)
SetVisibleAnimated (arg0 As Int, arg1 As Boolean)
isRevealed As Boolean
reveal
Reveals the hidden text by erasing the scratch area.
Properties:
Background As Drawable
Color As Int
Enabled As Boolean
Height As Int
Left As Int
Parent As Object [read only]
StrokeWidth As Int [write only]
Set the strokes width based on the parameter multiplier.
Tag As Object
Text As String
TextColor As Int [write only]
TextColor2 As ColorStateList
TextSize As Float
Top As Int
Visible As Boolean
Width As Int

库_刮擦效果 - 沉默蜂 - 沉默蜂B4A安卓编程

库_刮擦效果 - 沉默蜂 - 沉默蜂B4A安卓编程
 
 
  评论这张
 
阅读(43)| 评论(0)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017