rlayers
Version:
React Components for OpenLayers
22 lines • 592 B
TypeScript
import { ColorLike } from 'ol/colorlike';
import { Fill } from 'ol/style';
import { default as RBaseStyle, RBaseStyleProps } from './RBaseStyle';
/**
* @propsfor RFill
*/
export interface RFillProps extends RBaseStyleProps {
/** color */
color?: ColorLike;
}
/**
* A component for adding a fill to a style
*
* Requires an `RStyle` context
*/
export default class RFill extends RBaseStyle<RFillProps> {
protected static classProps: string[];
ol: Fill;
protected create(props: RFillProps): Fill;
protected set(ol: Fill): void;
}
//# sourceMappingURL=RFill.d.ts.map