Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
import android.graphics.Bitmap;

import android.graphics.BitmapShader;

import android.graphics.Shader;

public class Main {
    public static Shader createShader(Bitmap paramBitmap) {
        return new BitmapShader(paramBitmap, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP);
    }
}