Tuesday, 30 July 2013

Transperency in android canvas

Paint Paint = new Paint();
    Paint.setColor(Color.argb(50, 128, 24, 24));
    Paint.setStyle(Style.FILL);   
    Paint.setAntiAlias(true);


50 is the alpha parameter based on which transperency parameter will vary

No comments:

Post a Comment

Pass a HashMap from Angular Client to Spring boot API

This example is for the case where fileData is very huge and in json format   let map = new Map<string, string>()      map.set(this.ge...