继承关系
源码与继承
成员目录44
构造函数
属性
受保护 只读shapeInfo
shapeInfo: Readonly<NativeShapeInfo>
源码与继承
方法
受保护changeGeometry
changeGeometry(operation: number, x: number, y?: number, z?: number): void
getOutlineThickness
getOutlineThickness(): number
getTexture
getTexture(): | null| Readonly< Pick< Texture, | "getSize" | typeof graphicsNative | typeof textureId | typeof textureOwner | "copyToImage" | "isSmooth" | "isRepeated" | "isSrgb" | "getNativeHandle", >,> 返回值
| null | Readonly< Pick< Texture, | "getSize" | typeof graphicsNative | typeof textureId | typeof textureOwner | "copyToImage" | "isSmooth" | "isRepeated" | "isSrgb" | "getNativeHandle", >, > 源码与继承
setMiterLimit
setMiterLimit(this: ShapeResource, limit: number): void
setOutlineThickness
setOutlineThickness(this: ShapeResource, thickness: number): void
setTexture
setTexture( this: ShapeResource, texture: | null | Readonly< Pick< Texture, | "getSize" | typeof graphicsNative | typeof textureId | typeof textureOwner | "copyToImage" | "isSmooth" | "isRepeated" | "isSrgb" | "getNativeHandle", >, >, resetRect?: boolean,): void 参数
texture | null | Readonly< Pick< Texture, | "getSize" | typeof graphicsNative | typeof textureId | typeof textureOwner | "copyToImage" | "isSmooth" | "isRepeated" | "isSrgb" | "getNativeHandle", >, >
源码与继承
受保护update
update(this: Shape): void
符号成员
只读[graphicsNative]
"[graphicsNative]": NativeGraphicsHandle<"shape">
源码与继承
只读[mutableValue]
"[mutableValue]": true
源码与继承
只读[shapeState]
"[shapeState]": ShapeData
源码与继承
"[transformableState]": TransformableState
源码与继承
Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0
具有 Shape 外观和变换的 sf::CircleShape 几何。