본문으로 건너뛰기

Interface: PolygonProps

Properties

fillColor

Optional fillColor: string

#xxxxxx 형태의 채움 색 (기본값: ‘#F10000’)

Defined in

packages/react-kakao-maps-sdk/src/components/Polygon.tsx:16


fillOpacity

Optional fillOpacity: number

채움 불투명도 (0-1) (기본값: 0)

Defined in

packages/react-kakao-maps-sdk/src/components/Polygon.tsx:20


onClick

Optional onClick: (target: Polygon, mouseEvent: MouseEvent) => void

Type declaration

▸ (target, mouseEvent): void

클릭하면 발생한다.

Parameters
NameType
targetPolygon
mouseEventMouseEvent
Returns

void

Defined in

packages/react-kakao-maps-sdk/src/components/Polygon.tsx:73


onCreate

Optional onCreate: (target: Polygon) => void

Type declaration

▸ (target): void

객체 생성시 호출 됩니다.

Parameters
NameType
targetPolygon
Returns

void

Defined in

packages/react-kakao-maps-sdk/src/components/Polygon.tsx:80


onMousedown

Optional onMousedown: (target: Polygon, mouseEvent: MouseEvent) => void

Type declaration

▸ (target, mouseEvent): void

마우스 버튼을 누르면 발생한다.

Parameters
NameType
targetPolygon
mouseEventMouseEvent
Returns

void

Defined in

packages/react-kakao-maps-sdk/src/components/Polygon.tsx:66


onMousemove

Optional onMousemove: (target: Polygon, mouseEvent: MouseEvent) => void

Type declaration

▸ (target, mouseEvent): void

마우스를 움직이면 발생한다.

Parameters
NameType
targetPolygon
mouseEventMouseEvent
Returns

void

Defined in

packages/react-kakao-maps-sdk/src/components/Polygon.tsx:59


onMouseout

Optional onMouseout: (target: Polygon, mouseEvent: MouseEvent) => void

Type declaration

▸ (target, mouseEvent): void

마우스 커서가 벗어나면 발생한다.

Parameters
NameType
targetPolygon
mouseEventMouseEvent
Returns

void

Defined in

packages/react-kakao-maps-sdk/src/components/Polygon.tsx:52


onMouseover

Optional onMouseover: (target: Polygon, mouseEvent: MouseEvent) => void

Type declaration

▸ (target, mouseEvent): void

마우스 커서를 올리면 발생한다.

Parameters
NameType
targetPolygon
mouseEventMouseEvent
Returns

void

Defined in

packages/react-kakao-maps-sdk/src/components/Polygon.tsx:45


path

path: LatLng[] | LatLng[][]

Defined in

packages/react-kakao-maps-sdk/src/components/Polygon.tsx:12


strokeColor

Optional strokeColor: string

#xxxxxx 형태의 선 색 (기본값: ‘#F10000’)

Defined in

packages/react-kakao-maps-sdk/src/components/Polygon.tsx:28


strokeOpacity

Optional strokeOpacity: number

선 불투명도 (0-1) (기본값: 0.6)

Defined in

packages/react-kakao-maps-sdk/src/components/Polygon.tsx:32


strokeStyle

Optional strokeStyle: StrokeStyles

선 스타일 (기본값: ‘solid’)

Defined in

packages/react-kakao-maps-sdk/src/components/Polygon.tsx:36


strokeWeight

Optional strokeWeight: number

픽셀 단위의 선 두께 (기본값: 3)

Defined in

packages/react-kakao-maps-sdk/src/components/Polygon.tsx:24


zIndex

Optional zIndex: number

선의 z-index 속성 값

Defined in

packages/react-kakao-maps-sdk/src/components/Polygon.tsx:40