diff --git a/imagelib/src/main/kotlin/pikt/imagelib/ImageFunctions.kt b/imagelib/src/main/kotlin/pikt/imagelib/ImageFunctions.kt index 35d5bdf..1d44cf5 100644 --- a/imagelib/src/main/kotlin/pikt/imagelib/ImageFunctions.kt +++ b/imagelib/src/main/kotlin/pikt/imagelib/ImageFunctions.kt @@ -103,7 +103,7 @@ fun imageHeight(image: Any): Int { * @return the color of the [image] at the given coordinate * @throws PiktIndexOutOfBoundsException if one of the coordinates is negative or greater than the image size */ -fun imageColor(image: Any, x: Any, y: Any): Color { +fun getImageColor(image: Any, x: Any, y: Any): Color { if (image !is Image) { throw PiktWrongArgumentTypeException( parameterName = "image", diff --git a/imagelib/src/main/resources/colors.properties b/imagelib/src/main/resources/colors.properties index 04e7bea..258c7f2 100644 --- a/imagelib/src/main/resources/colors.properties +++ b/imagelib/src/main/resources/colors.properties @@ -2,4 +2,4 @@ newImage=B41EFF saveImage=681EFF imageWidth= imageHeight= -imageColor= \ No newline at end of file +getImageColor= \ No newline at end of file