Docs - mariusdotspinu/CircularImage GitHub Wiki

Documentation

Method Description Return
.setImageViewReference(ImageView imageView) Copy the reference of the destination imageView void
.buildInto(ImageView imageView) Creating the final circular image result. CircularImage
.setPlaceHolder(int resource) Setting a place holder while the image downloading takes place. CircularImage
.setContentImage(String url) Method for creating a circular image using a custom background from a given url string. CircularImage
.setContentImage(URL url) Method for creating a circular image using a custom background from an external url source. CircularImage
.setContentImage(int res) Method for creating a circular image using a custom background. CircularImage
.setColorImage(int resource) Method for creating a single solid-color circular image. CircularImage
.setText(String text) Sets the text of the image. CircularImage
.setTextSize(int textSize) Sets the text's size. CircularImage
.setTextColor(int textColor) Sets the text's color. CircularImage
.setSize(int Width, int Height) Sets the image size. CircularImage
.getColorIntFromResource(Context context, int colorInt) Returns an int competent for color creation. CircularImage