with library | without libary |
---|---|
path.moveTo(pointF) | path.moveTo(pointF.x, pointF.y) |
path.moveTo(point) | path.moveTo(point.x.toFloat(), point.y.toFloat()) |
path.moveTo(xIntValue, yIntValue) | path.moveTo(xIntValue.toFloat(), yIntValue.toFloat() |
path.lineTo(pointF) | path.lineTo(pointF.x, pointF.y) |
path.lineTo(point) | path.lineTo(point.x.toFloat(), point.y.toFloat()) |
path.lineTo(xIntValue, yIntValue) | path.lineTo(xIntValue.toFloat(), yIntValue.toFloat() |
path.setLastPoint(pointF) | path.setLastPoint(pointF.x, pointF.y) |
path.setLastPoint(point) | path.setLastPoint(point.x.toFloat(), point.y.toFloat()) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val point = -somePoint | |
pointA - pointB | |
pointA + pointB | |
point * Double | |
point * Float | |
point * Int | |
point / Double | |
point / Float | |
point / Int |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val pointA = Point() | |
val pointB = Point() | |
val plusResult = Point(pointA.x + pointB.x, | |
pointA.y + pointB.y) | |
val minusResult = Point(pointA.x - pointB.x, | |
pointA.y - pointB.y) | |
val divResult = PointF(pointA.x / 4.2, | |
pointA.y / 4.2) | |
val timesResult = PointF(pointA.x * 2, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val pointA = Point() | |
val pointB = Point() | |
val plusResult = pointA + pointB | |
val minusResult = pointA - pointB | |
val divResult = pointA / 4.2 | |
val timesResult = pointA * 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val path = Path(); | |
val topLeft = PointF(); | |
val bottomRight = PointF(); | |
path.addRect(topLeft.x, topLeft.y, | |
bottomRight.x, bottomRight.y) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val path = Path(); | |
val topLeft = PointF(); | |
val bottomRight = PointF(); | |
path.addRect(topLeft, bottomRight); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val a = Point(ax, ay) | |
val b = Point(bx, by) | |
val c = PointF(cx, cy) | |
val path = Path() | |
path.moveTo(a.x.toFloat(), a.y.toFloat()); | |
path.lineTo(b.x.toFloat(), b.y.toFloat()); | |
path.lineTo(c.x, c.y); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val a = Point(ax, ay) | |
val b = Point(bx, by) | |
val c = PointF(cx, cy) | |
val path = Path() | |
path.moveTo(a); | |
path.lineTo(b); | |
path.lineTo(c); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
KEYS=$(git shortlog -n ${GIT_PREVIOUS_SUCCESSFUL_COMMIT}..HEAD — oneline | cut -d ']' -f1 | cut -d '[' -f2 | grep "^IM") | |
echo ${KEYS} >> releaseNote.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -D- -u $JIRA_USERNAME:$JIRA_PASSWORD -X POST --data "{"description": "***", "name": "${BUILD_NUMBER}", "archived": false, "released": false, "project": "${PROJECT_KEY}"}" -H "Content-Type:application/json" ${JIRA_URL}rest/api/2/version |