AutoShape

Overview

AutoShape là một lớp trong Aspose.Slides FOSS cho Java. Dòng thừa kế từ: GeometryShape, IAutoShape.

Đặt một vị trí (được đặt).

Khóa học này cung cấp 53 phương pháp để làm việc với các đối tượng AutoShape trong các chương trình Java. Các phương pháp có sẵn bao gồm: AutoShape, GeometryShape, addTextFrame, asIPresentationComponent, getAdjustments, getAlternativeText, getAlternativeTextTitle, getAsIGeometryShape, getAsISlideComponent, getCNvPr, getConnectionSiteCount, getCustomData,Và 40 phương pháp bổ sung. Tất cả các thành viên công cộng đều có thể truy cập bất kỳ ứng dụng Java nào sau khi cài đặt Aspose.Slides FOSS cho gói Java. Tài sản : adjustments, alternativeText, alternativeTextTitle, asIGeometryShape, asISlideComponent, cNvPr,28 và nhiều hơn nữa.

Properties

NameTypeAccessDescription
shapeTypeShapeTypeRead{@inheritDoc}

Checks for custom geometry ({@code <a:custGeom>}) ngoài các lớp cơ sở preset geometry lookup.

/
textFrameITextFrameReadGửi lại frame text.
textBoxbooleanReadGửi hộp văn bản.
asIGeometryShapeIGeometryShapeReadNhận dạng như hình geometry.
fillFormatIFillFormatRead[Điều kiện]
xdoubleReadĐã nhận được x.
ydoubleReadGets the y.
widthdoubleReadNhận được chiều rộng.
heightdoubleReadnhận được độ cao.
rotationdoubleReadNhận được vòng quay.
shapeStyleIShapeStyleReadCó được hình dạng phong cách.
adjustmentsIAdjustValueCollectionReadNhận được các điều chỉnh.
cNvPrElementReadC. Đã có c nv pr.
textHolderbooleanReadNhận được tài liệu văn bản.
placeholderIPlaceholderReadNhận vị trí.
customDataICustomDataReadNhận dữ liệu tùy chỉnh.
rawFrameIShapeFrameReadĐưa ra khung nguyên.
frameIShapeFrameReadGửi ra frame.
lineFormatILineFormatReadNhận định dạng dòng.
threeDFormatIThreeDFormatReadCó 3D định dạng.
effectFormatIEffectFormatReadCó được hiệu ứng định dạng.
hiddenbooleanReadGửi cái ẩn.
zOrderPositionintRead- Nhận vị trí lệnh z.
connectionSiteCountintReadNhận được số site kết nối.
alternativeTextStringReadNhận được văn bản thay thế.
alternativeTextTitleStringReadNhận được tiêu đề văn bản thay thế.
nameStringReadnhận được tên.
decorativebooleanReadĐưa ra trang trí.
uniqueIdintReadNhận ID duy nhất.
officeInteropShapeIdintReadNhận thông tin về Office Interop Shape ID.
groupedbooleanReadGặp nhóm.
asISlideComponentISlideComponentReadGets the as i slide thành phần.
slideIBaseSlideReadGửi slide.
presentationIPresentationReadNhận được trình bày.

Methods

SignatureDescription
AutoShape(xmlElement: Element, saveCallback: Runnable)Tạo một AutoShape được hỗ trợ bởi các yếu tố XML.
AutoShape()Tạo AutoShape mà không có yếu tố hỗ trợ.
getShapeType()ShapeType{@inheritDoc}

Checks for custom geometry ({@code <a:custGeom>}) bên cạnh các lớp cơ bản preset geometry lookup.

/
setShapeType(value: ShapeType){@inheritDoc}

Tắt bất kỳ hình ảnh địa phương tùy chỉnh hiện có ({@code <a:custGeom>}) trước khi áp dụng bản đồ, và làm sạch trẻ em của một {_code }.

/
getTextFrame()ITextFrameTrở lại khung văn bản.
isTextBox()booleanTrở lại đúng nếu hộp văn bản được thiết lập.
getAsIGeometryShape()IGeometryShapeTrở lại hình dạng như I.
addTextFrame(text: String)ITextFrameThêm một khung văn bản mới với văn Bản đó và trả về ITextFrame
getFillFormat()IFillFormat[Điều kiện]
GeometryShape(xmlElement: Element, saveCallback: Runnable)Tạo một GeometryShape được hỗ trợ bởi các yếu tố XML.
setParentShapes(shapes: Iterable<IShape>)Thiết lập bộ sưu tập các hình dạng anh em được sử dụng cho các tìm kiếm kết nối.
getX()doubleX trở lại.
setX(x: double)Đặt giá trị x.
getY()doubleTrở lại Y.
setY(y: double)Đặt giá trị y.
getWidth()doubleTrở lại chiều rộng.
setWidth(width: double)Đặt giá trị rộng.
getHeight()doubleTrở về chiều cao.
setHeight(height: double)Đặt giá trị cao.
getRotation()doubleTrở lại xoay.
setRotation(rotation: double)Đặt giá trị xoay.
getShapeStyle()IShapeStyleTrở lại phong cách hình dạng.
getAdjustments()IAdjustValueCollectionLại trả lại các điều chỉnh.
getCNvPr()ElementTrở lại c nv pr.
isTextHolder()booleanTrở lại đúng nếu người giữ văn bản được thiết lập.
getPlaceholder()IPlaceholderTrở lại vị trí.
getCustomData()ICustomDataTrả lại dữ liệu tùy chỉnh.
getRawFrame()IShapeFrameTrở lại khung nguyên chất.
setRawFrame(value: IShapeFrame)Đặt giá trị khung nguyên.
getFrame()IShapeFrameQuay lại khung.
setFrame(value: IShapeFrame)Đặt giá trị frame.
getLineFormat()ILineFormatTrở lại định dạng dòng.
getThreeDFormat()IThreeDFormatTrở lại ba định dạng d.
getEffectFormat()IEffectFormatTrở lại định dạng hiệu ứng.
isHidden()booleanTrở lại đúng nếu ẩn được đặt.
setHidden(value: boolean)Đặt giá trị ẩn.
getZOrderPosition()intTrở lại vị trí lệnh z.
getConnectionSiteCount()intTrả lại số site kết nối.
getAlternativeText()StringTrả lại văn bản thay thế.
setAlternativeText(value: String)Đặt giá trị văn bản thay thế.
getAlternativeTextTitle()StringTrả lại tiêu đề văn bản thay thế.
setAlternativeTextTitle(value: String)Đặt giá trị tiêu đề văn bản thay thế.
getName()StringQuay lại tên.
setName(value: String)Đặt giá trị tên.
isDecorative()booleanTrở lại đúng nếu trang trí được thiết lập.
setDecorative(value: boolean)Đặt giá trị trang trí.
getUniqueId()intTrở lại ID duy nhất.
getOfficeInteropShapeId()intTrả lại Office Interop Shape ID.
isGrouped()booleanTrở lại đúng nếu nhóm được thiết lập.
getAsISlideComponent()ISlideComponentTrở lại như I slide thành phần.
getSlide()IBaseSlideTrở lại slide.
getPresentation()IPresentationTrở lại bản trình bày.
asIPresentationComponent()IPresentationComponent

See Also

 Tiếng Việt