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
스케치를 받아 획의 수를 숫자로 돌려준다.
원문(영어) 보기
Takes a sketch and returns the number of strokes as a number.
sketchPointCount
스케치를 받아 점의 수를 숫자로 돌려준다.
원문(영어) 보기
Takes a sketch and returns the number of points as a number.
sketchTotalStrokeLength
스케치를 받아 모든 획의 길이를 합친 숫자를 돌려준다.
원문(영어) 보기
Takes a sketch and returns a number the aggregate length of all strokes as a number.
sketchYValues
스케치가 주어진 x 위치에서 지나가는 모든 y 값을 숫자배열(numberList)로 돌려준다.
원문(영어) 보기
Returns a numberList of all y-values that the sketch passes through at a given x value
sketchXValues
스케치가 주어진 y 위치에서 지나가는 모든 x 값을 숫자배열로 돌려준다.
원문(영어) 보기
Returns a numberList of all x-values that the sketch passes through at a given y value
angleOfLine
xyLine 객체가 x축과 이루는 각을 라디안으로 돌려준다.
원문(영어) 보기
Returns the angle an xyLine object makes with the x-axis, measured in radians.
slopeOfLine
xyLine 객체의 기울기를 돌려준다.
원문(영어) 보기
Returns the slope of an xyLine object.
yInterceptOfLine
xyLine 객체의 y절편을 돌려준다.
원문(영어) 보기
Returns the y-intercept of an xyLine object.
xInterceptOfLine
xyLine 객체의 x절편을 돌려준다.
원문(영어) 보기
Returns the x-intercept of an xyLine object.
isLineHorizontal
xyLine 객체를 받아 그 직선이 수평인지를 불리언 값으로 돌려준다.
원문(영어) 보기
Returns a Boolean value given an xyLine object that indicates whether or not the line is horizontal.
isLineVertical
xyLine 객체를 받아 그 직선이 수직인지를 불리언 값으로 돌려준다.
원문(영어) 보기
Returns a Boolean value given an xyLine object that indicates whether or not the line is vertical.
stretch
경계 전략(bounds strategy) stretch이다. bounds.setStrategy(더 이상 쓰지 않음)와 함께 쓴다.
원문(영어) 보기
Bounds strategy stretch. Use this in conjunction with bounds.setStrategy (deprecated).
left
경계 전략 left이다. bounds.setStrategy(더 이상 쓰지 않음)와 함께 쓴다.
원문(영어) 보기
Bounds strategy left. Use this in conjunction with bounds.setStrategy (deprecated).
right
경계 전략 right이다. bounds.setStrategy(더 이상 쓰지 않음)와 함께 쓴다.
원문(영어) 보기
Bounds strategy right. Use this in conjunction with bounds.setStrategy (deprecated).
centeredHorizontal
경계 전략 centeredHorizontal이다. bounds.setStrategy(더 이상 쓰지 않음)와 함께 쓴다.
원문(영어) 보기
Bounds strategy centeredHorizontal. Use this in conjunction with bounds.setStrategy (deprecated).
bottom
경계 전략 bottom이다. bounds.setStrategy(더 이상 쓰지 않음)와 함께 쓴다.
원문(영어) 보기
Bounds strategy bottom. Use this in conjunction with bounds.setStrategy (deprecated).
top
경계 전략 top이다. bounds.setStrategy(더 이상 쓰지 않음)와 함께 쓴다.
원문(영어) 보기
Bounds strategy top. Use this in conjunction with bounds.setStrategy (deprecated).
centeredVertical
경계 전략 centeredVertical이다. bounds.setStrategy(더 이상 쓰지 않음)와 함께 쓴다.
원문(영어) 보기
Bounds strategy centeredVertical. Use this in conjunction with bounds.setStrategy (deprecated).