Skip to content

Commit e123025

Browse files
authored
Merge pull request #73 from Nishanth-Risor/patch-2
added getSelector function
2 parents 6d6f725 + 003b740 commit e123025

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

colorpickerview/src/main/java/com/skydoves/colorpickerview/ColorPickerView.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,14 @@ public void setDebounceDuration(long debounceDuration) {
578578
private Point getCenterPoint(int x, int y) {
579579
return new Point(x - (selector.getMeasuredWidth() / 2), y - (selector.getMeasuredHeight() / 2));
580580
}
581-
581+
/**
582+
* gets selector.
583+
*
584+
* @return selector.
585+
*/
586+
public ImageView getSelector() {
587+
return this.selector;
588+
}
582589
/**
583590
* gets a selector's selected coordinate x.
584591
*

0 commit comments

Comments
 (0)