asposewordscloud
Version:
Aspose.Words Cloud SDK for Node.js
96 lines (95 loc) • 2.62 kB
TypeScript
import { AttributeInfo } from '../internal/attributeInfo';
import { ModelInterface } from './modelInterface';
import { XmlColor } from './xmlColor';
export declare const importsMapShading: {
XmlColor: typeof XmlColor;
};
/**
* DTO container with a paragraph format shading element.
*/
export declare class Shading implements ModelInterface {
/**
* Attribute type map
*/
static attributeTypeMap: Array<AttributeInfo>;
/**
* Returns attribute type map
*/
static getAttributeTypeMap(): AttributeInfo[];
/**
* Gets or sets the color that's applied to the background of the Shading object.
*/
backgroundPatternColor: XmlColor;
/**
* Gets or sets the color that's applied to the foreground of the Shading object.
*/
foregroundPatternColor: XmlColor;
/**
* Gets or sets the shading texture.
*/
texture: Shading.TextureEnum;
constructor(init?: Partial<Shading>);
collectFilesContent(_resultFilesContent: Array<any>): void;
validate(): void;
}
/**
* Enums for Shading
*/
export declare namespace Shading {
enum TextureEnum {
TextureNone,
TextureSolid,
Texture5Percent,
Texture10Percent,
Texture20Percent,
Texture25Percent,
Texture30Percent,
Texture40Percent,
Texture50Percent,
Texture60Percent,
Texture70Percent,
Texture75Percent,
Texture80Percent,
Texture90Percent,
TextureDarkHorizontal,
TextureDarkVertical,
TextureDarkDiagonalDown,
TextureDarkDiagonalUp,
TextureDarkCross,
TextureDarkDiagonalCross,
TextureHorizontal,
TextureVertical,
TextureDiagonalDown,
TextureDiagonalUp,
TextureCross,
TextureDiagonalCross,
Texture2Pt5Percent,
Texture7Pt5Percent,
Texture12Pt5Percent,
Texture15Percent,
Texture17Pt5Percent,
Texture22Pt5Percent,
Texture27Pt5Percent,
Texture32Pt5Percent,
Texture35Percent,
Texture37Pt5Percent,
Texture42Pt5Percent,
Texture45Percent,
Texture47Pt5Percent,
Texture52Pt5Percent,
Texture55Percent,
Texture57Pt5Percent,
Texture62Pt5Percent,
Texture65Percent,
Texture67Pt5Percent,
Texture72Pt5Percent,
Texture77Pt5Percent,
Texture82Pt5Percent,
Texture85Percent,
Texture87Pt5Percent,
Texture92Pt5Percent,
Texture95Percent,
Texture97Pt5Percent,
TextureNil
}
}