← 수업 제작 도구
홈 › Index › Deprecated Functions

Deprecated Functions (더 이상 쓰지 않는 함수)

원본: Computation Layer 문서(Deprecated Functions)

코드 안의 회색 줄은 원문 영어 주석이고, 파란 줄은 그 영어 주석의 번역이며, 연분홍 줄은 코드가 하는 일의 설명이다. 항목 설명은 번역이 아니라 해석이며 원문은 접어 둔 "원문(영어) 보기"에 있다.

이 함수들은 모두 더 이상 쓰지 않는다(deprecated). 이 목록에 있다면 같은 일을 하는 더 나은 방법이 있으므로 그쪽을 쓰기를 권한다.

원문(영어) 보기

These functions have all been deprecated. If it's on this list, we now have a better way to do the same thing, which we recommend using instead.

sketchStrokeCount function:sketchStrokeCount

스케치를 받아 획의 수를 숫자로 돌려준다.

원문(영어) 보기

Takes a sketch and returns the number of strokes as a number.

이 항목에는 코드 예제가 없다.

sketchPointCount function:sketchPointCount

스케치를 받아 점의 수를 숫자로 돌려준다.

원문(영어) 보기

Takes a sketch and returns the number of points as a number.

이 항목에는 코드 예제가 없다.

sketchTotalStrokeLength function:sketchTotalStrokeLength

스케치를 받아 모든 획의 길이를 합친 숫자를 돌려준다.

원문(영어) 보기

Takes a sketch and returns a number the aggregate length of all strokes as a number.

이 항목에는 코드 예제가 없다.

sketchYValues function:sketchYValues

스케치가 주어진 x 위치에서 지나가는 모든 y 값을 숫자배열(numberList)로 돌려준다.

원문(영어) 보기

Returns a numberList of all y-values that the sketch passes through at a given x value

이 항목에는 코드 예제가 없다.

sketchXValues function:sketchXValues

스케치가 주어진 y 위치에서 지나가는 모든 x 값을 숫자배열로 돌려준다.

원문(영어) 보기

Returns a numberList of all x-values that the sketch passes through at a given y value

이 항목에는 코드 예제가 없다.

angleOfLine function:angleOfLine

xyLine 객체가 x축과 이루는 각을 라디안으로 돌려준다.

원문(영어) 보기

Returns the angle an xyLine object makes with the x-axis, measured in radians.

이 항목에는 코드 예제가 없다.

slopeOfLine function:slopeOfLine

xyLine 객체의 기울기를 돌려준다.

원문(영어) 보기

Returns the slope of an xyLine object.

이 항목에는 코드 예제가 없다.

yInterceptOfLine function:yInterceptOfLine

xyLine 객체의 y절편을 돌려준다.

원문(영어) 보기

Returns the y-intercept of an xyLine object.

이 항목에는 코드 예제가 없다.

xInterceptOfLine function:xInterceptOfLine

xyLine 객체의 x절편을 돌려준다.

원문(영어) 보기

Returns the x-intercept of an xyLine object.

이 항목에는 코드 예제가 없다.

isLineHorizontal function:isLineHorizontal

xyLine 객체를 받아 그 직선이 수평인지를 불리언 값으로 돌려준다.

원문(영어) 보기

Returns a Boolean value given an xyLine object that indicates whether or not the line is horizontal.

이 항목에는 코드 예제가 없다.

isLineVertical function:isLineVertical

xyLine 객체를 받아 그 직선이 수직인지를 불리언 값으로 돌려준다.

원문(영어) 보기

Returns a Boolean value given an xyLine object that indicates whether or not the line is vertical.

이 항목에는 코드 예제가 없다.

stretch function:stretch

경계 전략(bounds strategy) stretch이다. bounds.setStrategy(더 이상 쓰지 않음)와 함께 쓴다.

원문(영어) 보기

Bounds strategy stretch. Use this in conjunction with bounds.setStrategy (deprecated).

이 항목에는 코드 예제가 없다.

left function:left

경계 전략 left이다. bounds.setStrategy(더 이상 쓰지 않음)와 함께 쓴다.

원문(영어) 보기

Bounds strategy left. Use this in conjunction with bounds.setStrategy (deprecated).

이 항목에는 코드 예제가 없다.

right function:right

경계 전략 right이다. bounds.setStrategy(더 이상 쓰지 않음)와 함께 쓴다.

원문(영어) 보기

Bounds strategy right. Use this in conjunction with bounds.setStrategy (deprecated).

이 항목에는 코드 예제가 없다.

centeredHorizontal function:centeredHorizontal

경계 전략 centeredHorizontal이다. bounds.setStrategy(더 이상 쓰지 않음)와 함께 쓴다.

원문(영어) 보기

Bounds strategy centeredHorizontal. Use this in conjunction with bounds.setStrategy (deprecated).

이 항목에는 코드 예제가 없다.

bottom function:bottom

경계 전략 bottom이다. bounds.setStrategy(더 이상 쓰지 않음)와 함께 쓴다.

원문(영어) 보기

Bounds strategy bottom. Use this in conjunction with bounds.setStrategy (deprecated).

이 항목에는 코드 예제가 없다.

top function:top

경계 전략 top이다. bounds.setStrategy(더 이상 쓰지 않음)와 함께 쓴다.

원문(영어) 보기

Bounds strategy top. Use this in conjunction with bounds.setStrategy (deprecated).

이 항목에는 코드 예제가 없다.

centeredVertical function:centeredVertical

경계 전략 centeredVertical이다. bounds.setStrategy(더 이상 쓰지 않음)와 함께 쓴다.

원문(영어) 보기

Bounds strategy centeredVertical. Use this in conjunction with bounds.setStrategy (deprecated).

이 항목에는 코드 예제가 없다.